Re: [matplotlib-devel] Request: make plotting of a single point more convenient

2009-07-25 Thread Nathaniel Smith
On Sat, Jul 25, 2009 at 3:13 PM, Rob Clewleyrob.clew...@gmail.com wrote: I wrote a wrapper to do this for my own code because I wanted it so much. I can't see why it would be a problem to support, it's only one extra if statement. Or zero extra statements, if one just replaces the if

Re: [matplotlib-devel] [Numpy-discussion] Announcing toydist, improving distribution and packaging situation

2010-01-03 Thread Nathaniel Smith
On Tue, Dec 29, 2009 at 6:34 AM, David Cournapeau courn...@gmail.com wrote: Buildout, virtualenv all work by sandboxing from the system python: each of them do not see each other, which may be useful for development, but as a deployment solution to the casual user who may not be familiar with

Re: [matplotlib-devel] [Numpy-discussion] Announcing toydist, improving distribution and packaging situation

2010-01-03 Thread Nathaniel Smith
On Sun, Jan 3, 2010 at 4:23 AM, David Cournapeau courn...@gmail.com wrote: On Sun, Jan 3, 2010 at 8:05 PM, Nathaniel Smith n...@pobox.com wrote: What I do -- and documented for people in my lab to do -- is set up one virtualenv in my user account, and use it as my default python. (I 'activate

Re: [matplotlib-devel] HTML5 Matplotlib Backend

2010-07-19 Thread Nathaniel Smith
On Fri, Jul 16, 2010 at 10:21 AM, Ryan Wagner ryan.wag...@roguewave.com wrote: (Michael Droettboom) The display at the bottom that says Cursor at: X, Y is in pixels, not in data units. ?It would be great if this could display data units, though being general enough to support custom scales

Re: [matplotlib-devel] Patch for Qt4 backend for IPython GUI

2010-09-08 Thread Nathaniel Smith
On Wed, Sep 8, 2010 at 12:12 AM, Fernando Perez fperez@gmail.com wrote: ps - tip: Ctrl-. restarts the kernel Tangentially... please make this something that's a little harder to hit by accident, like Ctrl-Alt-. or a menu item or something? My ipython's regularly hold state that would take a

Re: [matplotlib-devel] Qt SVG clipping bug (it's NOT a matplotlib bug)- Qt won't fix...

2010-10-14 Thread Nathaniel Smith
On Thu, Oct 14, 2010 at 7:51 AM, Fernando Perez fperez@gmail.com wrote: Well, the client can save a session to html, svgs and all: http://fperez.org/tmp/ipython-svg.xml If the svg has extra metadata embedded, this will preserve it.  The author of the html saving works in genomics at

Re: [matplotlib-devel] Another colormap

2011-09-22 Thread Nathaniel Smith
On Sep 21, 2011 5:29 PM, Christoph Gohlke cgoh...@uci.edu wrote: On 9/13/2011 12:24 AM, Eric Firing wrote: On 07/18/2011 07:07 AM, Sameer Grover wrote: I came across this website where different colormaps have been compared and the author has come up with an optimal colormap for data

Re: [matplotlib-devel] Another colormap

2011-09-22 Thread Nathaniel Smith
On Thu, Sep 22, 2011 at 7:00 PM, Benjamin Root ben.r...@ou.edu wrote: On Thursday, September 22, 2011, Tony Yu tsy...@gmail.com wrote: On Thu, Sep 22, 2011 at 5:16 PM, Nathaniel Smith n...@pobox.com wrote: I looked at the paper, and the goal was specifically to produce a good default colormap

Re: [matplotlib-devel] GSOC mentoring organization

2012-03-06 Thread Nathaniel Smith
On Tue, Mar 6, 2012 at 4:43 PM, John Hunter jdh2...@gmail.com wrote: The timeline at   http://www.google-melange.com/gsoc/events/google/gsoc2012 says March 6th is the [GSOC] Mentoring organization application deadline.  How do you interpret mentoring organization there?  As the PSF or someone

Re: [matplotlib-devel] New plot type idea -- EventRaster

2012-09-24 Thread Nathaniel Smith
On Mon, Sep 24, 2012 at 2:33 PM, Todd toddr...@gmail.com wrote: This sort of plot is used ubiquitously in neuroscience. It is used to show the time of discrete neural (brain cell) events (called spikes) over time in repeated trials, and is generally called a spike raster, raster plot, or

Re: [matplotlib-devel] Interactive Matplotlib in the browser

2012-10-12 Thread Nathaniel Smith
On Thu, Oct 11, 2012 at 10:49 PM, Michael Droettboom md...@stsci.edu wrote: I have a proof-of-concept way to make interactive plots in the browser work using transparent PNGs described here: http://mdboom.github.com/blog/2012/10/11/matplotlib-in-the-browser-its-coming/ No PRs yet, because

Re: [matplotlib-devel] Travis numpy build failures on Python 3.x

2012-11-30 Thread Nathaniel Smith
Let's try that again... -- Forwarded message -- From: Nathaniel Smith n...@pobox.com Date: Fri, Nov 30, 2012 at 11:13 PM Subject: Re: [matplotlib-devel] Travis numpy build failures on Python 3.x To: Damon McDougall damon.mcdoug...@gmail.com On Fri, Nov 30, 2012 at 10:25 PM

Re: [matplotlib-devel] Experiments in removing/replacing PyCXX

2012-11-30 Thread Nathaniel Smith
On Fri, Nov 30, 2012 at 11:40 PM, Michiel de Hoon mjldeh...@yahoo.com wrote: One package (Pysam) that I use a lot relies on Cython, and requires users to install Cython before they can install Pysam itself. With Cython, is that always the case? Will all users need to install Cython? Or is it

Re: [matplotlib-devel] Experiments in removing/replacing PyCXX

2012-12-03 Thread Nathaniel Smith
On Mon, Dec 3, 2012 at 8:24 PM, Chris Barker - NOAA Federal chris.bar...@noaa.gov wrote: On Mon, Dec 3, 2012 at 11:59 AM, Michael Droettboom md...@stsci.edu wrote: so there are types in libpng, for example, that we don't actually know the size of. They are different on different platforms.

Re: [matplotlib-devel] DeprecationWarnings in matplotlib effectively invisible (with proposed fix)

2012-12-05 Thread Nathaniel Smith
On Wed, Dec 5, 2012 at 9:45 PM, Paul Ivanov pivanov...@gmail.com wrote: Hey everyone, In adding a deprecation warning in this pull request [1], Damon and I learned that DeprecationWarnings are ignored by default in Python 2.7 This is rather unfortunate, and I outlined possible workarounds

Re: [matplotlib-devel] DeprecationWarnings in matplotlib effectively invisible (with proposed fix)

2012-12-10 Thread Nathaniel Smith
On Wed, Dec 5, 2012 at 10:23 PM, Paul Ivanov pivanov...@gmail.com wrote: On Wed, Dec 5, 2012 at 1:52 PM, Nathaniel Smith n...@pobox.com wrote: If you're defining your own warning class, you might consider using FutureWarning instead of UserWarning. We had a discussion about this issue

Re: [matplotlib-devel] Github Downloads going away...

2012-12-14 Thread Nathaniel Smith
On 14 Dec 2012 16:59, Michael Droettboom md...@stsci.edu wrote: Github has removed the ability to host binaries. They've removed this feature without any apparent notification except on their blog saying it's gone today. And the suggested alternative is to use paid services.

Re: [matplotlib-devel] Github Downloads going away...

2012-12-23 Thread Nathaniel Smith
jason-s...@creativetrax.com wrote: On 12/14/12 10:55 AM, Nathaniel Smith wrote: sourceforge's horror of an interface. I'll second that. Every time I go to Sourceforge, I have to figure out how in the world to download what I want (and I have to figure out which things *not* to click on too

Re: [matplotlib-devel] Usefulness of Travis-CI

2013-01-16 Thread Nathaniel Smith
On 16 Jan 2013 09:30, Fernando Perez fperez@gmail.com wrote: On Wed, Jan 16, 2013 at 12:10 AM, Nelle Varoquaux nelle.varoqu...@gmail.com wrote: Last but not least, maybe we can see what numfocus has to offer. Absolutely! I'll be offline for two weeks, but others on the list can

Re: [matplotlib-devel] RFC: Moving plots out of axes

2013-03-15 Thread Nathaniel Smith
On 15 Mar 2013 16:50, Todd toddr...@gmail.com wrote: Within the axes constructor, the constructor would run through each of these modules and store them as attributes with the same name as the function and the function itself being the contents. At least if me understanding is correct, this

Re: [matplotlib-devel] Refactoring the axes module

2013-06-29 Thread Nathaniel Smith
On Sat, Jun 29, 2013 at 8:13 PM, Damon McDougall damon.mcdoug...@gmail.com wrote: To reiterate, remember that you'll need to nuke your previous local install. Installing over an existing mpl distribution will cause problems. This is because `python setup.py install` will not remove the old

Re: [matplotlib-devel] Updating copyright model in license

2013-07-02 Thread Nathaniel Smith
On Tue, Jul 2, 2013 at 8:31 PM, Michael Droettboom md...@stsci.edu wrote: As many of you are well aware, John Hunter has been the sole copyright holder on matplotlib from the beginning. I'm sorry it's taken nearly a year to do this (as can often happen in sad situations like this), but I think

Re: [matplotlib-devel] Plot or Not: voting to create better matplotlibrc

2013-07-22 Thread Nathaniel Smith
On Sun, Jul 21, 2013 at 2:48 AM, Chris Beaumont beaum...@hawaii.edu wrote: I don't fully agree with Eric that changing the defaults should be treated as an API break -- yes, it may irritate a minority of users, but their code will still run. I'd flip around your argument for the role of

Re: [matplotlib-devel] Plot or Not: voting to create better matplotlibrc

2013-07-22 Thread Nathaniel Smith
On Mon, Jul 22, 2013 at 2:55 PM, Michael Droettboom md...@stsci.edu wrote: This is why I suggested that the best way forward is to implement some sort of easy styling functionality (like what Tony Yu has submitted in #2236, though I haven't had a chance to look at it yet), and make it explicit

Re: [matplotlib-devel] Minimum python version 2.6 vs 2.7

2014-05-07 Thread Nathaniel Smith
It is also technically possible to use a drop-in fallback implementation on older pythons, e.g.: https://github.com/pydata/patsy/blob/master/patsy/compat.py#L120 https://github.com/pydata/patsy/blob/master/patsy/compat_ordereddict.py -n On Wed, May 7, 2014 at 4:03 PM, Federico Ariza

Re: [matplotlib-devel] numpy indexing changes

2014-06-10 Thread Nathaniel Smith
On 10 Jun 2014 19:07, Eric Firing efir...@hawaii.edu wrote: This is just a heads-up: some indexing changes in the numpy 1.9rc break matplotlib, as revealed in the mpl tests; there is a discussion on the numpy-discussion list about what to do about it. It looks like they will back off on the

Re: [matplotlib-devel] [Numpy-discussion] Questions about fixes for 1.9.0rc2

2014-07-04 Thread Nathaniel Smith
On Fri, Jul 4, 2014 at 9:48 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Fri, Jul 4, 2014 at 2:41 PM, Nathaniel Smith n...@pobox.com wrote: On Fri, Jul 4, 2014 at 9:33 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Fri, Jul 4, 2014 at 2:09 PM, Nathaniel Smith n

Re: [matplotlib-devel] plot_directive, context and multiple plots

2014-07-14 Thread Nathaniel Smith
Wouldn't a better default be to just close all figures when they're displayed? It can't be common that someone wants to show the same plot repeatedly (and if they do that could have an option)...? -n On 14 Jul 2014 22:16, Matthew Brett matthew.br...@gmail.com wrote: Hi, I am happily using

Re: [matplotlib-devel] pyplot-OO convergence

2014-09-28 Thread Nathaniel Smith
n Sun, Sep 28, 2014 at 12:40 AM, Eric Firing efir...@hawaii.edu wrote: One of the biggest causes of controversy in mpl, and of difficulty in teaching and learning mpl, is the divide between pyplot and the rest of the library. There are at least two aspects: 1) plt.title() versus

Re: [matplotlib-devel] Matlab parula colormap

2014-10-21 Thread Nathaniel Smith
On Tue, Oct 21, 2014 at 8:50 AM, Pierre Haessig pierre.haes...@crans.org wrote: Hi, Matlab is now shipping with a new default colormap, named parula [1,2]. It is meant to overcome the many issues of the current default jet. It seems that the RGB values of this new colormap are already

Re: [matplotlib-devel] Matlab parula colormap

2014-10-21 Thread Nathaniel Smith
On Tue, Oct 21, 2014 at 8:09 PM, Eric Firing efir...@hawaii.edu wrote: On 2014/10/21, 6:27 AM, Nathaniel Smith wrote: On Tue, Oct 21, 2014 at 8:50 AM, Pierre Haessig pierre.haes...@crans.org wrote: Hi, Matlab is now shipping with a new default colormap, named parula [1,2]. It is meant

Re: [matplotlib-devel] Matplotlib on Android

2014-11-07 Thread Nathaniel Smith
On 7 Nov 2014 14:44, Apps Embedded apps.embed...@gmail.com wrote: Hi, You are right. Maybe a Science Console name should simply do it. And for the Python trademark, is there any legal issue with charging an Android app using the python langage ? This is like me asking you whether I can

Re: [matplotlib-devel] Matplotlib's new default colormap

2014-11-21 Thread Nathaniel Smith
On Fri, Nov 21, 2014 at 5:46 PM, Darren Dale dsdal...@gmail.com wrote: On Fri, Nov 21, 2014 at 12:32 PM, Phil Elson pelson@gmail.com wrote: Please use this thread to discuss the best choice for a new default matplotlib colormap. This follows on from a discussion on the matplotlib-devel

[matplotlib-devel] Better defaults all around?

2014-11-21 Thread Nathaniel Smith
Hi all, Since we're considering the possibility of making a matplotlib 2.0 release with a better default colormap, it occurred to me that it might make sense to take this opportunity to improve other visual defaults. Defaults are important. Obviously for publication graphs you'll want to end up

Re: [matplotlib-devel] Better defaults all around?

2014-11-25 Thread Nathaniel Smith
On 22 Nov 2014 02:22, Benjamin Root ben.r...@ou.edu wrote: Some of your wishes are in progress already: https://github.com/matplotlib/matplotlib/pull/3818 There is also an issue open about scaling the dashes with the line width, and you are right, the spacing for the dashes are terrible. Nice!

Re: [matplotlib-devel] Better defaults all around?

2014-11-26 Thread Nathaniel Smith
On Wed, Nov 26, 2014 at 9:30 AM, Todd toddr...@gmail.com wrote: On Sat, Nov 22, 2014 at 12:22 AM, Nathaniel Smith n...@pobox.com wrote: - Default line colors: The rgbcmyk color cycle for line plots doesn't appear to be based on any real theory about visualization -- it's just the corners

Re: [matplotlib-devel] Better defaults all around?

2014-11-27 Thread Nathaniel Smith
On Thu, Nov 27, 2014 at 9:54 AM, Todd toddr...@gmail.com wrote: On Nov 26, 2014 10:04 PM, Nathaniel Smith n...@pobox.com wrote: The main differences in requirements are: - for the color cycle, you want isoluminant colors, to avoid the issue where one line is glaring bright red and one

Re: [matplotlib-devel] Capitalization of Matplotlib

2015-02-16 Thread Nathaniel Smith
On Feb 16, 2015 10:35 AM, Eric Firing efir...@hawaii.edu wrote: On 2015/02/16 8:16 AM, Benjamin Root wrote: I am in the final rounds of edits for my book and a question has come up between me and the editors. When should the matplotlib be capitalized? 1) never 2) mostly never (even in

Re: [matplotlib-devel] Matplotlib's new default colormap

2015-01-08 Thread Nathaniel Smith
On Thu, Jan 8, 2015 at 10:30 PM, Maximilian Albert maximilian.alb...@gmail.com wrote: Hi Nathaniel, Basically, it allows you to pick the start/end color of a colormap from two cross sections in CIELab space and interpolates those colors linearly (see the README file for more details).

Re: [matplotlib-devel] Matplotlib's new default colormap

2015-01-08 Thread Nathaniel Smith
On Tue, Jan 6, 2015 at 2:37 AM, Maximilian Albert maximilian.alb...@gmail.com wrote: Happy new year everyone! Apologies for the long silence. I was snowed in with work before Christmas and then mostly cut off from the internet for the past two weeks. Fortunately, I had a chance over the

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

2015-02-18 Thread Nathaniel Smith
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 promising, to do something similar to

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

2015-04-05 Thread Nathaniel Smith
On Apr 5, 2015 8:29 PM, gary ruben gary.ru...@gmail.com wrote: Just wondering whether anyone has suggested checking candidate colormaps against typical printer color gamuts? How would you go about doing this in practice? Is it even possible to choose a subset of sRGB space and have printers

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

2015-04-05 Thread Nathaniel Smith
On Mon, Feb 23, 2015 at 10:46 AM, Eric Firing efir...@hawaii.edu wrote: 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

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

2015-04-05 Thread Nathaniel Smith
On Sun, Apr 5, 2015 at 12:46 AM, Eric Firing efir...@hawaii.edu wrote: On 2015/04/04 9:20 PM, Nathaniel Smith wrote: While it's taking longer than hoped, just to reassure you that this isn't total vaporware, here's a screenshot from the colormap designer that Stéfan van der Walt and I have

Re: [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-03 Thread Nathaniel Smith
On Wed, Jun 3, 2015 at 1:51 PM, Eric Firing efir...@hawaii.edu wrote: On 2015/06/02 7:58 PM, Nathaniel Smith wrote: On Tue, Jun 2, 2015 at 10:03 PM, Paul Ivanov p...@berkeley.edu wrote: That said, if you want to play around with the editor tool, it's linked on the webpage

Re: [matplotlib-devel] Colormap survey results

2015-06-17 Thread Nathaniel Smith
On Jun 17, 2015 8:36 AM, OceanWolf juichenieder-n...@yahoo.co.uk wrote: Another question, why does a reason exist why the colour-maps start at yellow and go to blue, either anti-clockwise, or clockwise? What about a rotation of 90deg rather than just a mirror inverse on the a' b' plane?

[matplotlib-devel] Colormap survey results

2015-06-16 Thread Nathaniel Smith
Greetings, matplotliberators! I've counted up the various votes people made regarding the different colormap options at https://bids.github.io/colormap including the ones in the matplotlib-devel and -users threads and elsewhere (private email, twitter), etc. There were two phases -- some

Re: [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-02 Thread Nathaniel Smith
On Tue, Jun 2, 2015 at 9:01 PM, Olga Botvinnik obotv...@ucsd.edu wrote: Great work! Very nice post describing the methodology. I especially like the choice of images you used to expose differences between colormaps. Thanks! My ranking is: 1. C 2. A 3. B To my eyes, C has the highest

[matplotlib-devel] RFC: candidates for a new default colormap

2015-06-02 Thread Nathaniel Smith
Hi all, As was hinted at in a previous thread, Stéfan van der Walt and I have been using some Fancy Color Technology to attempt to design a new colormap intended to become matplotlib's new default. (Down with jet!) Unfortunately, while our Fancy Color Technology includes a computational model of

Re: [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-02 Thread Nathaniel Smith
On Tue, Jun 2, 2015 at 10:03 PM, Paul Ivanov p...@berkeley.edu wrote: 1. C 2. B 3. A But I wouldn't call them aesthetic - the purple in there just looks off - I'd prefer something like hot, afmhot, or gist_heat - or variations on those. It turns out that it's very difficult to go ~blue to

Re: [matplotlib-devel] Colormap survey results

2015-07-01 Thread Nathaniel Smith
On Jul 1, 2015 6:31 PM, Eric Firing efir...@hawaii.edu wrote: On 2015/07/01 1:56 PM, Nathaniel Smith wrote: On Tue, Jun 16, 2015 at 7:14 PM, Nathaniel Smith n...@pobox.com wrote: [...snip discussion of how option D was the favorite of 80% of people in the survey...] So the next

Re: [matplotlib-devel] Colormap survey results

2015-07-01 Thread Nathaniel Smith
On Tue, Jun 16, 2015 at 7:14 PM, Nathaniel Smith n...@pobox.com wrote: [...snip discussion of how option D was the favorite of 80% of people in the survey...] So the next question is where we go from here. We need to pick a color for this bikeshed at some point. One theory is that the next