Re: [Matplotlib-users] How to remove an element from a graph?

2010-05-18 Thread Philipp K. Janert
Thanks. On Tuesday 18 May 2010 12:13:27 pm John Hunter wrote: > On Tue, May 18, 2010 at 12:58 PM, Jae-Joon Lee wrote: > > All the artists that are drawn are kept in the figure instance, so you > > can inspect the figure instance. > > And you may use findobj for that if you want. > > On the other

Re: [Matplotlib-users] plot() resets limits?

2010-05-16 Thread Philipp K. Janert
Thanks, that was helpful. On Sunday 16 May 2010 02:23:02 pm Eric Firing wrote: > On 05/16/2010 10:19 AM, Philipp K. Janert wrote: > > Let's say I am running an interactive session > > (ipython -pylab), and now issue the following > > commands: > > > >

[Matplotlib-users] plot() resets limits?

2010-05-16 Thread Philipp K. Janert
Let's say I am running an interactive session (ipython -pylab), and now issue the following commands: x = linspace(0, 10, 100 ) plot( x, sin(x) ) ylim( -2, 2 ) plot( x, cos(x) ) Then the second plot command seems to reset the plot limits to [-1,1] - which

[Matplotlib-users] How to remove an element from a graph?

2010-05-16 Thread Philipp K. Janert
Assume I am running an interactive session, using ipython -pylab and have added a bunch of curves x = linspace(0, 10, 100 ) plot( x, sin(x) ) plot( x, cos(x) ) and also added a text label text( 1, 1, "Hello" ) But now I decide that I don't want the text