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
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
---
Hi,
I'm trying to autoscale an AxesImage after having set new data with
set_data(). I thought, the way to do it is to use Axes.relim() followed
by Axes.autoscale_view(). Unfortunately, this does not work properly
both with version 0.99.3 and 1.0.1.
Consider the following example (adapted from t