I am drawing a pandas DataFrame with multiple columns as shown below:
fig, ax = py.subplots(figsize=(11.7, 8.3)) df.plot(ax=ax, secondary_y=[A])
I can format the primary yaxis with the command as shown below:
ax.yaxis.set_major_formatter(FormatStrFormatter('%d days'))
How to apply formatting to the secondary Y axis (the one displayed on the right)?
source share