Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 18848

Pandas plot doesn't show

$
0
0

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

import numpy as npimport pandas as pdts = pd.Series(np.random.randn(1000), index=pd.date_range('1/1/2000', periods=1000))ts.plot()

Even when adding time.sleep(5), there is still nothing. Why?

Is there a way to do it, without having to manually call matplotlib ?


Viewing all articles
Browse latest Browse all 18848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>