matplotlib plot window won't appear

Posted by user1518837 on Stack Overflow See other posts from Stack Overflow or by user1518837
Published on 2012-10-31T04:59:10Z Indexed on 2012/10/31 5:00 UTC
Read the original article Hit count: 154

Filed under:
|
|
|
|

I'm using Python 2.7.3 in 64-bit. I installed pandas as well as matplotlib 1.1.1, both for 64-bit. Right now, none of my plots are showing. After attempting to plot from several different dataframes, I gave up in frustration and tried the following first example from http://pandas.pydata.org/pandas-docs/dev/visualization.html:

INPUT:

import matplotlib.pyplot as plt
ts = Series(randn(1000), index=date_range ('1/1/2000', periods=1000))
ts = ts.cumsum()
ts.plot()
pylab.show()

OUTPUT:

Axes(0.125,0.1;0.775x0.8)

And no plot window appeared. Other StackOverflow threads I've read suggested I might be missing DLLs. Any suggestions?

© Stack Overflow or respective owner

Related posts about python

Related posts about plot