Pandas plot doesn't show

前端 未结 4 809

When using this in a script (not IPython), nothing happens, i.e. the plot window doesn\'t appear :

import numpy as np
import pandas as pd
ts = pd.Series(np.r         


        
4条回答
  •  生来不讨喜
    2020-12-04 21:28

    I did just

    import matplotlib.pyplot as plt
    
    %matplotlib inline
    

    and add line

    plt.show()
    

    next to df.plot() and it worked well for

提交回复
热议问题