[matplotlib-devel] Animate Contourf with only new frames

2015-02-23 Thread Ignat Harczuk
Firstly I would like to apologize in case this should belong in the matplotlib-users, I'm not sure if this is dev or users related. Let us say we want to animate a 2D contour plot, then passing the blit = True argument to FuncAnimation fails since the QuadContourSet has no axes attribute. Is it

Re: [matplotlib-devel] Animate Contourf with only new frames

2015-02-23 Thread Benjamin Root
Huh, how about that. ContourSet subclasses ScalarMappable, but not Artist. I don't know if that is intentional or not, but given that most plotting functions return artists, this would seem to be an anomaly. FuncAnimation expects a list of Artists. Since QuadContourSet is (apparently) not an

Re: [matplotlib-devel] release strategy and the color revolution

2015-02-23 Thread Eric Firing
On 2015/02/18 2:39 PM, Nathaniel Smith wrote: On Feb 16, 2015 3:39 PM, Eric Firing efir...@hawaii.edu wrote: On 2015/02/16 1:29 PM, Michael Waskom wrote: Nathaniel's January 9 message in that thread (can't figure out how to link to it in the archives) had a suggestion that I thought was very

Re: [matplotlib-devel] release strategy and the color revolution

2015-02-23 Thread Pierre Haessig
Hi, Le 16/02/2015 23:01, Eric Firing a écrit : For a long time there has been discussion of replacing the matplotlib default color map [...] I've started building a small interactive Lab point editor to build a sequential colormap. https://github.com/pierre-haessig/lab-colormap-creator The

Re: [matplotlib-devel] release strategy and the color revolution

2015-02-23 Thread Benjamin Root
Interesting choices, and I think we are on the right paths (no pun intended) through the two possible colors. However, I think the same problem arises that I noted before. Both ends of the colormap are nearly black to nearly white. IIRC, our perception of luminosity has a much greater range than

Re: [matplotlib-devel] release strategy and the color revolution

2015-02-23 Thread Eric Firing
On 2015/02/23 8:16 AM, Benjamin Root wrote: Interesting choices, and I think we are on the right paths (no pun intended) through the two possible colors. However, I think the same problem arises that I noted before. Both ends of the colormap are nearly black to nearly white. IIRC, our

Re: [matplotlib-devel] release strategy and the color revolution

2015-02-23 Thread Benjamin Root
My eyes are definitely favoring the L20-80 over the L5-95 colormaps. Does Luminosity take into account human's non-linearity in perceiving brightness? I remember a few years ago many of the open-source graphics tools (such as GIMP) had to be fixed because it assumed a linear brightness perception.

Re: [matplotlib-devel] Animate Contourf with only new frames

2015-02-23 Thread Thomas Caswell
This should probably be changed to use the new and improved container class (along with error bar), but I should read the code to be sure. On Mon, Feb 23, 2015, 11:44 Benjamin Root ben.r...@ou.edu wrote: Huh, how about that. ContourSet subclasses ScalarMappable, but not Artist. I don't know if