Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #102378
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: ts.plot() pandas: No plot! |
| Date | 2016-02-01 01:43 +0000 |
| Message-ID | <mailman.179.1454291031.2338.python-list@python.org> (permalink) |
| References | <n8m9sb$6ss$1@gioia.aioe.org> |
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:
> <matplotlib.axes.AxesSubplot object at 0x7f33019b6630>
>
> Any clue on what is happening?
>
> I'm using kubuntu and python3.
>
> Thanks.
> Paulo
>
Is it as simple as adding a call to ts.show() ?
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
ts.plot() pandas: No plot! Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2016-02-01 00:46 +0000
Re: ts.plot() pandas: No plot! Chris Angelico <rosuav@gmail.com> - 2016-02-01 12:15 +1100
Re: ts.plot() pandas: No plot! Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2016-02-01 01:30 +0000
Re: ts.plot() pandas: No plot! Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-02-01 01:43 +0000
Re: ts.plot() pandas: No plot! Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2016-02-01 02:08 +0000
Re: ts.plot() pandas: No plot! Jason Swails <jason.swails@gmail.com> - 2016-02-01 09:18 -0500
Re: ts.plot() pandas: No plot! Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2016-02-01 19:22 +0000
csiph-web