Re: [Matplotlib-users] cycling mechanism

2012-01-05 Thread Michael Droettboom
This is great! Absolutely a much-needed and much-requested feature. I wonder, however, about the need for function-specific color cycles. Is there a use case there? I'd be just as happy with a single global color cycle that all functions would use. I also like the suggestion of a style

Re: [Matplotlib-users] cycling mechanism

2012-01-05 Thread Jonathan Slavin
Just one quick thought. I hope that you will implement a longer default color cycle than the current default. I have several times run into situations where I have to either modify the cycle or specify the colors manually because I had more than 7 lines. Also, it'd be nice to have the colors be

Re: [Matplotlib-users] cycling mechanism

2012-01-05 Thread Benjamin Root
On Thu, Jan 5, 2012 at 7:56 AM, Jonathan Slavin jsla...@cfa.harvard.eduwrote: Just one quick thought. I hope that you will implement a longer default color cycle than the current default. I have several times run into situations where I have to either modify the cycle or specify the colors

Re: [Matplotlib-users] cycling mechanism

2012-01-05 Thread Benjamin Root
On Thu, Jan 5, 2012 at 10:40 AM, Benjamin Root ben.r...@ou.edu wrote: At the very least, it would help in compartmentallizing all the possible drawing attributes that are common across all artists. Currently, I am envisioning using a defaultdict object (which was introduced in python 2.5)

[Matplotlib-users] Caption in Plot Directive

2012-01-05 Thread Skipper Seabold
Is this information incorrect? http://matplotlib.sourceforge.net/devel/documenting_mpl.html#module-matplotlib.sphinxext.plot_directive This line seems to preclude ever getting to the below code to process the caption.

[Matplotlib-users] draw bbox around axes title

2012-01-05 Thread Skipper Seabold
Hi, I'm trying to draw a box around an axes title, and I'm having trouble controlling it. I want the box to span the width of the x axis. I tried some iterations on the below since xy and height/width are hard-coded in set_title, but when I call show, it seems the width of the box is reset. Any

Re: [Matplotlib-users] cycling mechanism

2012-01-05 Thread Benjamin Root
On Thu, Jan 5, 2012 at 11:34 AM, Ryan May rma...@gmail.com wrote: On Thu, Jan 5, 2012 at 10:58 AM, Benjamin Root ben.r...@ou.edu wrote: On Thu, Jan 5, 2012 at 10:40 AM, Benjamin Root ben.r...@ou.edu wrote: At the very least, it would help in compartmentallizing all the possible

Re: [Matplotlib-users] cycling mechanism

2012-01-05 Thread Tony Yu
On Thu, Jan 5, 2012 at 11:51 AM, Benjamin Root ben.r...@ou.edu wrote: On Thu, Jan 5, 2012 at 7:56 AM, Jonathan Slavin jsla...@cfa.harvard.eduwrote: Just one quick thought. I hope that you will implement a longer default color cycle than the current default. I have several times run into

Re: [Matplotlib-users] cycling mechanism

2012-01-05 Thread Daniel Hyams
Right, __slots__ is definitely not a good idea to use except in very specific situations. I would strongly recommend against its usage here. http://groups.google.com/group/comp.lang.python/msg/0f2e859b9c002b28 On Thu, Jan 5, 2012 at 3:50 PM, Eric Firing efir...@hawaii.edu wrote: On

Re: [Matplotlib-users] cycling mechanism

2012-01-05 Thread Benjamin Root
On Thu, Jan 5, 2012 at 2:59 PM, Daniel Hyams dhy...@gmail.com wrote: Right, __slots__ is definitely not a good idea to use except in very specific situations. I would strongly recommend against its usage here. http://groups.google.com/group/comp.lang.python/msg/0f2e859b9c002b28 Good to

Re: [Matplotlib-users] cycling mechanism

2012-01-05 Thread Ryan May
On Thu, Jan 5, 2012 at 2:59 PM, Daniel Hyams dhy...@gmail.com wrote: Right, __slots__ is definitely not a good idea to use except in very specific situations.  I would strongly recommend against its usage here. http://groups.google.com/group/comp.lang.python/msg/0f2e859b9c002b28 I see that

[Matplotlib-users] Tkinter Scaling Problems

2012-01-05 Thread Karthik Krishnamoorthi
Hi, I'm trying to embed a Matplotlib graph along with the toolbar in my Tkinter application. The problem I'm facing is that when I maximize the application, the plot only fills the top half of the screen and the bottom half is taken up by the toolbar with a lot of whitespace. I based my code on