Re: [matplotlib-devel] Stacked plotting in matplotlib

2012-08-24 Thread Nic Eggert
Stacked type histograms have this problem as well. The solution I've found is to do fig.set_yscale('log', nonposy='clip'). On Fri, Aug 24, 2012 at 8:43 AM, Benjamin Root wrote: > > > On Fri, Aug 24, 2012 at 1:44 AM, Eric Firing wrote: >> >> On 2012/08/23 6:41 PM, Fernando Perez wrote: >> > Hi Er

Re: [matplotlib-devel] Stacked plotting in matplotlib

2012-08-24 Thread Benjamin Root
On Fri, Aug 24, 2012 at 1:44 AM, Eric Firing wrote: > On 2012/08/23 6:41 PM, Fernando Perez wrote: > > Hi Eric, > > > > On Thu, Aug 23, 2012 at 7:56 PM, Eric Firing wrote: > >> I'm not sure I understand what you are getting at, but I don't think > there > >> should be any interface changes for p

Re: [matplotlib-devel] Stacked plotting in matplotlib

2012-08-23 Thread Eric Firing
On 2012/08/23 6:41 PM, Fernando Perez wrote: > Hi Eric, > > On Thu, Aug 23, 2012 at 7:56 PM, Eric Firing wrote: >> I'm not sure I understand what you are getting at, but I don't think there >> should be any interface changes for plot or for their log variants. > > I probably phrased my question po

Re: [matplotlib-devel] Stacked plotting in matplotlib

2012-08-23 Thread Fernando Perez
Hi Eric, On Thu, Aug 23, 2012 at 7:56 PM, Eric Firing wrote: > I'm not sure I understand what you are getting at, but I don't think there > should be any interface changes for plot or for their log variants. I probably phrased my question poorly. I'm just wondering, how would one use the propos

Re: [matplotlib-devel] Stacked plotting in matplotlib

2012-08-23 Thread Nic Eggert
I think this gives more reason to not add a stacked kwarg to plot. You would need to add it to the log variants as well. Nic On Thu, Aug 23, 2012 at 10:56 PM, Eric Firing wrote: > On 2012/08/23 2:54 PM, Fernando Perez wrote: >> On Thu, Aug 23, 2012 at 4:21 PM, Eric Firing wrote: >>> OK, here ar

Re: [matplotlib-devel] Stacked plotting in matplotlib

2012-08-23 Thread Eric Firing
On 2012/08/23 2:54 PM, Fernando Perez wrote: > On Thu, Aug 23, 2012 at 4:21 PM, Eric Firing wrote: >> OK, here are mine: I oppose overloading plot with a "stacked" kwarg and >> functionality. It is complicated enough as it is. I don't see any >> problem with having "stackplot" and hist(..., stac

Re: [matplotlib-devel] Stacked plotting in matplotlib

2012-08-23 Thread Fernando Perez
On Thu, Aug 23, 2012 at 4:21 PM, Eric Firing wrote: > OK, here are mine: I oppose overloading plot with a "stacked" kwarg and > functionality. It is complicated enough as it is. I don't see any > problem with having "stackplot" and hist(..., stacked=True). They are > just not all that similar.

Re: [matplotlib-devel] Stacked plotting in matplotlib

2012-08-23 Thread Nic Eggert
Eric, you make a good point. I'm okay with that approach as well. It also has the benefit of being the least work. Nic On Thu, Aug 23, 2012 at 7:21 PM, Eric Firing wrote: > On 2012/08/23 11:55 AM, Damon McDougall wrote: >> Hey Nic, >> >> Thanks for bringing this up. I was the author for #819, so

Re: [matplotlib-devel] Stacked plotting in matplotlib

2012-08-23 Thread Eric Firing
On 2012/08/23 11:55 AM, Damon McDougall wrote: > Hey Nic, > > Thanks for bringing this up. I was the author for #819, so I'd like to > get some dicussion going on this, too. Sorry for the delay, I was in the > midst of writing a thesis, which I am now free of. > > On Sun, Aug 12, 2012 at 11:51:24PM

Re: [matplotlib-devel] Stacked plotting in matplotlib

2012-08-23 Thread Damon McDougall
Hey Nic, Thanks for bringing this up. I was the author for #819, so I'd like to get some dicussion going on this, too. Sorry for the delay, I was in the midst of writing a thesis, which I am now free of. On Sun, Aug 12, 2012 at 11:51:24PM -0500, Nic Eggert wrote: > Hi all, > > I'd like to bring

Re: [matplotlib-devel] Stacked plotting in matplotlib

2012-08-12 Thread Nic Eggert
Oops, sorry. I realized it was actually Ben Root who suggested I start this discussion. Don't want to put words in anyones mouth. Nic On Sun, Aug 12, 2012 at 11:51 PM, Nic Eggert wrote: > Hi all, > > I'd like to bring up a question spurred by PRs #847(mine) and #819 > (recently accepted). These

[matplotlib-devel] Stacked plotting in matplotlib

2012-08-12 Thread Nic Eggert
Hi all, I'd like to bring up a question spurred by PRs #847(mine) and #819 (recently accepted). These PRs both deal with stacked plots. #819 adds the stackplot function to axes.py as a new function, which plots different 2-d datasets stacked atop each other. #847 slightly modifies the functioning