📌  相关文章
📜  左对齐 y 刻度标签 |删除当前标签 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:05.875000             🧑  作者: Mango

代码示例1
# 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)