[Matplotlib-users] Colorbar requires mappable?

2008-03-07 Thread Ryan May
Hi, In working on creating updating pcolor plots, I noticed that I can't create colorbars (which should be static) without first displaying an image. I have a fixed Normalize object and colormap, so I would think that the colorbar wouldn't actually need any information from the image itself.

Re: [Matplotlib-users] Colorbar requires mappable?

2008-03-08 Thread Eric Firing
Ryan, See examples/colorbar_only.py. I think it illustrates what you want. Eric Ryan May wrote: > Hi, > > In working on creating updating pcolor plots, I noticed that I can't > create colorbars (which should be static) without first displaying an > image. I have a fixed Normalize object and