matplotlib 0.82 subplot problem

If one try to plot more than nine axes in one figure is necesary to add a
comma between subplot arguments, but this command doesn't work properly. If
, for example, we need to plot twelve images

subplot(4,3,1)
imshow(...)
.
.
.
subplot(4,3,12)
imshow(...)

all images appear overlapped only on the first block of the array.

···

--
View this message in context: http://www.nabble.com/matplotlib-0.82-subplot-problem-t1117646.html#a2922054
Sent from the matplotlib - users forum at Nabble.com.

Can you update to the current version of mpl? This sounds like a bug that was fixed some time after version 82.0. The fix was in figure.py, in the Figure._make_key() method.

Eric

oeolartep wrote:

···

If one try to plot more than nine axes in one figure is necesary to add a
comma between subplot arguments, but this command doesn't work properly. If
, for example, we need to plot twelve images

subplot(4,3,1)
imshow(...)
.
subplot(4,3,12)
imshow(...)

all images appear overlapped only on the first block of the array.

Thanks Eric. I start with version 0.85 of mpl, but the contour examples
doesn't work, and I really need this piece of code for my project. I should
consider update mpl to 0.86 version.

···

--
View this message in context: http://www.nabble.com/matplotlib-0.82-subplot-problem-t1117646.html#a2923087
Sent from the matplotlib - users forum at Nabble.com.