Pycharm does not show plot

后端 未结 25 1056
鱼传尺愫
鱼传尺愫 2020-12-04 09:13

Pycharm does not show plot from the following code:

import pandas as pd
import numpy as np
import matplotlib as plt

ts = pd.Series(np.random.randn(1000), in         


        
相关标签:
25条回答
  • 2020-12-04 09:40

    Change import to:

    import matplotlib.pyplot as plt
    

    or use this line:

    plt.pyplot.show()
    
    0 讨论(0)
提交回复
热议问题