On 2012/09/23 9:27 AM, Benjamin Root wrote:
>
>
> On Sunday, September 23, 2012, Giovanni Plantageneto wrote:
>
> Hi everybody,
> sorry, I guess the question is trivial, but I confess my matplotlib
> and python ignorance.
>
> I'm running some code written by someone else, and appare
On 2012/09/23 9:45 AM, Giovanni Plantageneto wrote:
> One of the suggestions I got works:
>
>> Maybe this:
>
>> self.ax.get_figure().clf()
>> self.ax.get_figure().add_axes(self.ax)
This seems a bit dangerous, because logically, even if does not
presently do so, the clf() call could remove the fig
One of the suggestions I got works:
>Maybe this:
>self.ax.get_figure().clf()
>self.ax.get_figure().add_axes(self.ax)
>But it looks really weird to me.
If I understand it correctly, from matplotlib version 1.1.1 (?)
statements as "self.ax.get_figure().axes = []" are not possible any
more as axes
On Sunday, September 23, 2012, Giovanni Plantageneto wrote:
> Hi everybody,
> sorry, I guess the question is trivial, but I confess my matplotlib
> and python ignorance.
>
> I'm running some code written by someone else, and apparently some
> bits of the code are not compliant with newer versions
Hi everybody,
sorry, I guess the question is trivial, but I confess my matplotlib
and python ignorance.
I'm running some code written by someone else, and apparently some
bits of the code are not compliant with newer versions of matplotlib.
So, how can I rewrite the following, which give AttributE