How to control scientific notation in matplotlib?

前端 未结 2 1922
你的背包
你的背包 2021-01-12 20:45

This is my data frame I\'m trying to plot:

my_dic = {\'stats\': {\'apr\': 23083904,
                       \'may\': 16786816,
                       \'june\'         


        
2条回答
  •  隐瞒了意图╮
    2021-01-12 21:22

    Since you already using pandas

    import matplotlib.pyplot as plt
    my_df.plot(kind='bar')
    plt.ticklabel_format(style='plain', axis='y')
    

提交回复
热议问题