The underlying mechanism is a pcolormesh(). The key thing to remember when
going back and forth between imshow and pcolors is that coordinates for
imshow refer to the center of the pixel, while coordinates for pcolors
refer to the corners, IIRC (I might have that backwards).

Cheers!
Ben Root

On Wed, Nov 19, 2014 at 10:23 AM, Gael Varoquaux <
gael.varoqu...@normalesup.org> wrote:

> On Wed, Nov 19, 2014 at 10:20:23AM -0500, Benjamin Root wrote:
> > Notice that the colormap looks fine for the colorbar because it
> > isn't using imshow() under the hood.
>
> As a short-term workaround (I work with Loic, and I it would help me a
> lot if his problem was solved with a hack), can we leverage the mechanism
> used to plot the colorbar ourselves?
>
> That doesn't preclude fixing the problem in master, of course.
>
> Cheers,
>
> Gaël
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to