On Mon, Jan 14, 2013 at 8:50 AM, Alejandro Weinstein <
alejandro.weinst...@gmail.com> wrote:
> On Mon, Jan 14, 2013 at 9:42 AM, Paul Hobson wrote:
> > import matplotlib.pyplot as plt
> > import numpy as np
> >
> > A = np.random.rand(100,10) / 100
> > fig, ax = plt.subplots()
> > img = ax.matshow(
On Mon, Jan 14, 2013 at 10:39 AM, Paul Hobson wrote:
> Does the call to tight_layout() fig your problem?
Actually, I just realized that is not tight_layout() what fixed my
problem, but using ax.matshow instead of plt.matshow. The following
code produces an unclipped colorbar:
A = np.random.rand(