Re: ts.plot() pandas: No plot!

2016-02-01 Thread Paulo da Silva
Às 14:18 de 01-02-2016, Jason Swails escreveu: > On Sun, Jan 31, 2016 at 9:08 PM, Paulo da Silva < > p_s_d_a_s_i_l_v_a...@netcabo.pt> wrote: > >> Às 01:43 de 01-02-2016, Mark Lawrence escreveu: >>> On 01/02/2016 00:46, Paulo da Silva wrote: ... > > ​What you saw ts.plot() return was the

Re: ts.plot() pandas: No plot!

2016-02-01 Thread Jason Swails
On Sun, Jan 31, 2016 at 9:08 PM, Paulo da Silva < p_s_d_a_s_i_l_v_a...@netcabo.pt> wrote: > Às 01:43 de 01-02-2016, Mark Lawrence escreveu: > > On 01/02/2016 00:46, Paulo da Silva wrote: > ... > > >> > > > > Is it as simple as adding a call to ts.show() ? > > > Thanks for the clue! > Not so

Re: ts.plot() pandas: No plot!

2016-01-31 Thread Chris Angelico
On Mon, Feb 1, 2016 at 11:46 AM, Paulo da Silva wrote: > I am learning pandas and following the tutorial I tried the following: > ts = pd.Series(np.random.randn(1000), index=pd.date_range('1/1/2000', > periods=1000)) > ts = ts.cumsum() > ts.plot() > > No plot is

Re: ts.plot() pandas: No plot!

2016-01-31 Thread Mark Lawrence
On 01/02/2016 00:46, Paulo da Silva wrote: Hi! I am learning pandas and following the tutorial I tried the following: ts = pd.Series(np.random.randn(1000), index=pd.date_range('1/1/2000', periods=1000)) ts = ts.cumsum() ts.plot() No plot is produced! Only the following output: Any clue on

Re: ts.plot() pandas: No plot!

2016-01-31 Thread Paulo da Silva
Às 01:43 de 01-02-2016, Mark Lawrence escreveu: > On 01/02/2016 00:46, Paulo da Silva wrote: ... >> > > Is it as simple as adding a call to ts.show() ? > Thanks for the clue! Not so simple however. Needed to do import matplotlib.pyplot as plt plt.show() Thank you :-) Paulo --

Re: ts.plot() pandas: No plot!

2016-01-31 Thread Paulo da Silva
Às 01:15 de 01-02-2016, Chris Angelico escreveu: > On Mon, Feb 1, 2016 at 11:46 AM, Paulo da Silva > wrote: ... > > Hmm. Normally I would expect matplotlib to pop up a graph there. Are > you running this from a terminal, or from some sort of GUI? It might > make

ts.plot() pandas: No plot!

2016-01-31 Thread Paulo da Silva
Hi! I am learning pandas and following the tutorial I tried the following: ts = pd.Series(np.random.randn(1000), index=pd.date_range('1/1/2000', periods=1000)) ts = ts.cumsum() ts.plot() No plot is produced! Only the following output: Any clue on what is happening? I'm using kubuntu and