2021年1月18日星期一

why secondary y-axis is not showing original label

I am plotting with x-axis date and two y-axis , but secondary y-axis is showing value in decimal in real values are big

fig, ax = plt.subplots()  df["A"].plot(ax=ax, style='b-')  df['B'].plot(ax=ax, style='r-', secondary_y=True)  plt.show()  

enter image description here

https://stackoverflow.com/questions/65784977/why-secondary-y-axis-is-not-showing-original-label January 19, 2021 at 11:07AM

没有评论:

发表评论