Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

left-align the y-tick labels | remove the current labels

# Assume the rest of the code is written

ax.set_yticklabels([]) # an empty list removes the labels
country_names = top20_deathtoll['Country_Other']
for i, country in zip(range(20), country_names):
    ax.text(x=-80000, y=i-0.15, s=country)
Source by app.dataquest.io #
 
PREVIOUS NEXT
Tagged: #labels #remove #current #labels
ADD COMMENT
Topic
Name
8+1 =