[Matplotlib-users] Font weight on axes/labels

2008-06-22 Thread Erik Tollerud
I'm trying to adjust the font weight on some of my plots - I'd like to have the numbers along the axis ticks be bold instead of regular font like the default setting. The problem is, nothing I do seems to change the font weight. I've changed everything I can font in matplotlibrc to bold, and when

Re: [Matplotlib-users] picking a broken_barh collection calls pick event twice

2008-06-22 Thread Paul Hartley
My guess is that clicking on a collection causes a pick event to be returned by the collection itself and also perhaps by the barh member in the collection. No idea if that's the case, but just for the record, I figured out a simple enough workaround in which the pick handler is disconnected to op

Re: [Matplotlib-users] Animated bar graph question

2008-06-22 Thread Ryan May
Matt C wrote: > I'm very new to MPL, and I'm having a blast with it - great work. I've > looked around the docs, lists and other random places for a hint on > this, but I'm still stumped. > > The goal is simple: I'd like to create a very basic animated bar or barh > chart. I've been playing

[Matplotlib-users] Animated bar graph question

2008-06-22 Thread Matt C
I'm very new to MPL, and I'm having a blast with it - great work. I've looked around the docs, lists and other random places for a hint on this, but I'm still stumped. The goal is simple: I'd like to create a very basic animated bar or barh chart. I've been playing via ion() from the IPython s

Re: [Matplotlib-users] More Matlab-like way to manipulate colormaps?

2008-06-22 Thread David Goldsmith
Thanks Eric. Yeah, I noticed the _lut attribute and conjectured that it was the most analogous structure. Can you please tell me more about it, e.g., why N+3? Is the fourth column an alpha spec? If so, would this be a way to give different colors different alpha values (which is something I

Re: [Matplotlib-users] Axes3d

2008-06-22 Thread John Hunter
On Fri, Jun 20, 2008 at 12:12 PM, Eric Firing <[EMAIL PROTECTED]> wrote: >> transformation refactoring to have that working. Personally, I'm +1 on >> removing axes3d.py to avoid confusion. Done home:~/mpl/lib/matplotlib> cat axes3d.py raise NotImplmentedError('axes3d is not supported in matplot

Re: [Matplotlib-users] threading problems

2008-06-22 Thread SRH
John Hunter-4 wrote: > >> I think that for interactive work such as you describe, ipython -pylab >> pretty well solves the problem, and provides window behavior like >> matlab's. > Yes, exactly. Those of you trying to make this work may want to read > http://matplotlib.sf.net/interactive.html .

Re: [Matplotlib-users] threading problems

2008-06-22 Thread John Hunter
On Sun, Jun 22, 2008 at 12:31 AM, Eric Firing <[EMAIL PROTECTED]> wrote: > Scott, > > I think that for interactive work such as you describe, ipython -pylab > pretty well solves the problem, and provides window behavior like matlab's. Yes, exactly. Those of you trying to make this work may want t

[Matplotlib-users] Jagged Edges in Scatter Charts Circles

2008-06-22 Thread Kelvin Quee
Hi folks, I'm currently trying to plot some Bubble Charts using the scatter plot function. It works beautifully, but the circles drawn are a little too jagged for my liking. I'm following the example shown here - http://matplotlib.sourceforge.net/screenshots.html (look for scatter plot) Even i

Re: [Matplotlib-users] Axes3d

2008-06-22 Thread Eric Firing
Michael Droettboom wrote: > I'm not very familiar with how axes3d works, but just by looking at the > number of transform calls and objects, it appears that it will take > significant effort to update it. It was never one of the goals of the > transformation refactoring to have that working. P

[Matplotlib-users] picking a broken_barh collection calls pick event twice

2008-06-22 Thread Paul Hartley
If I click on a bar that is part of a broken_barh collection which has its picker attribute enabled, there appears to be two events generated for example: def on_pick(self, event): print event.mouseevent.xdata print event.mouseevent.ydata clicking on a bar will cause this meth

Re: [Matplotlib-users] More Matlab-like way to manipulate colormaps?

2008-06-22 Thread Eric Firing
David, There is no such API--maybe we should add some methods to the base Colormap so there would be--but you can do it yourself in either of two ways. First, you can generate a colormap from a list of colors, and the colors can be rgb triplets, so you could make your Nx3 array, do whatever yo