Re: [Matplotlib-users] twinx cla problem

2014-10-10 Thread Duke, Charles
Yes, I did. Same result as with cla(). Thanks, Charlie -Original Message- From: Sterling Smith [mailto:smit...@fusion.gat.com] Sent: Friday, October 10, 2014 11:30 AM To: Duke, Charles Cc: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] twinx cla problem This is

Re: [Matplotlib-users] twinx cla problem

2014-10-10 Thread Eric Firing
On 2014/10/10, 4:45 AM, Duke, Charles wrote: > With matplotlib 1.4.0 the cla() method for the twinx axes also clears > the primary axes. With matplotlib 1.3.1 the method only clears the > twinx axes as expected. I have a much longer program where the twinx > axes must be cleared while retaining t

Re: [Matplotlib-users] twinx cla problem

2014-10-10 Thread Sterling Smith
This is not tested, but did you try ax2.clear() instead? -Sterling On Oct 10, 2014, at 7:45AM, Duke, Charles wrote: > With matplotlib 1.4.0 the cla() method for the twinx axes also clears the > primary axes. With matplotlib 1.3.1 the method only clears the twinx axes as > expected. I have a

[Matplotlib-users] twinx cla problem

2014-10-10 Thread Duke, Charles
With matplotlib 1.4.0 the cla() method for the twinx axes also clears the primary axes. With matplotlib 1.3.1 the method only clears the twinx axes as expected. I have a much longer program where the twinx axes must be cleared while retaining the primary axis plot. I would prefer not to replo