I don't think it's a rendering bug. The entire first row of data is 0.0 and -0.0, which maps to red. The real solution would be to map 0 and -0.0 to different colors, but that's insane ;)
The rendering bug that bothers me, however, is the misalignment of the ticks to the colors in the color bar. I'm sure it's somehow related to the pixel-rounding in the Agg backend. I'll see if I can find an obvious fix for this. If it looks questionable, I'll wait until after the release. Cheers, Mike John Hunter wrote: > In the examples/pylab_examples/custom_cmap.py example, I am seeing a > pixel red border, eg colored red on the top border of the middle > subplot, where it looks like it should be blue. Image attached. Is > this an artifact of the breakpoint of the colormap, or a true > rendering bug? > > JDH > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel