On 08.02.2011 13:01, Thomas Lecocq wrote:
>
> this could work ;
>
> img.set_extent([0,200,0,200])
Yes, this works. Thank you.
So now I use
ax.relim()
ax.autoscale_view()
img.set_extent([0, 200, 0, 200])
From my point of view it is strange, that one has to call
img.set_extent explicitely which
.com
> CC: [email protected]
> Subject: Re: [Matplotlib-users] Autoscale AxesImage after using set_data()
>
> On 08.02.2011 10:23, Thomas Lecocq wrote:
> > I would suggest calling requet_redraw() ...
>
> I could not find such a method, nor any similar one
On 08.02.2011 10:23, Thomas Lecocq wrote:
> I would suggest calling requet_redraw() ...
I could not find such a method, nor any similar one: request_redraw() or
*_redraw(). I grepped through the version 1.0.1 source code.
Christoph
---