|
From: Eric F. <ef...@ha...> - 2013-06-06 20:24:42
|
On 2013/06/06 2:08 AM, Julien Cornebise wrote:
> Dear all
>
> I am puzzled: in the following code, when I call clim() *after* having
> created 3 subplots, only the last subplot takes the new limits into
> account. All other subplots ignore it. Xlim(), on the countrary, works
> as intended. Everything works fine when I set the clim() at creation time.
I see what the problem is, so I expect to come up with a PR for it in a
day or two.
In the meantime, as a workaround, change your clim() line to:
plt.gca()._gci().set_clim((5,10))
Eric
|