On 2014/11/19, 1:03 PM, Benjamin Root wrote:
What you are seeing is the fact that the adjacent cells share the same
coordinates, so neighboring cells overlap by one pixel. This is only
visible when alpha != 1. This is a tricky issue to solve, but I could
have sworn we made some progress on
Dear all,
I am trying to create a colormap with a single color (red in the example below)
where the alpha varies from 0 to 1. It does look like I am getting some grayish
color near the low alpha values (around alpha = 0.2). Is that expected somehow?
The plot I get is here:
Confirmed. I am going to wager that this might be related to some of the
work that is being done right now in master to improve alpha handling,
particularly with images. Notice that the colormap looks fine for the
colorbar because it isn't using imshow() under the hood.
First, if you could try
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
Did you try pcolormesh?
Cheers, Jody
On Nov 19, 2014, at 7: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.
Thanks for the suggestions, I have tried the easiest one for now, namely
pcolormesh, see attached plot. The alpha colormap look great but I can't
seem to figure out how to prevent the edges of the cells from being
visible. I tried using edgecolors='none' to no avail. I guess
retrospectively
What you are seeing is the fact that the adjacent cells share the same
coordinates, so neighboring cells overlap by one pixel. This is only
visible when alpha != 1. This is a tricky issue to solve, but I could have
sworn we made some progress on that front by setting snap to False
somewhere. There