📜  subplot ytick percent - 无论代码示例

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

代码示例1
import matplotlib.ticker as mtick

ax = df['myvar'].plot(kind='bar')
ax.yaxis.set_major_formatter(mtick.PercentFormatter())