The original message with attachments are still being held because of file
size, so I am reposting here without the attachments...
-- Forwarded message --
From: Arlindo da Silva
Date: Mon, Nov 21, 2011 at 10:45 PM
Subject: Bug or feature: bbox of maps
To: Matplotlib-users@lists.so
On 11/21/11 8:45 PM, Arlindo da Silva wrote:
Hi,
(A similar issue was reported back in 7/4/11 without a definite
solution, so I am reposting with some additional diagnostics. ) Up to
Matplotlib 0.99 (EPD 6.3) the code snippet below produced a plot with
an aligned colorbar as in the attache
What you see is a design limitation rather than a bug or feature. One
easy workaround is to use the shrink kwarg. See
examples/contour_demo.py. Another approach is to create the axes object
you want for the colorbar manually, as in examples/multi_image.py and
examples/subplots_adjust.py.
Er
Hi,
I have some problem with this kind of script:
#!/usr/bin/env python
import numpy
import numpy.random
import pylab
a = numpy.random.rand(10,10)
pylab.matshow(a)
pylab.colorbar()
pylab.figure(figsize=(4.8,8),dpi=100)
pylab.imshow(a,aspect='equal',interpolation='nearest')
pylab.colorbar()
pyl