[Matplotlib-users] Editing a colorbar

2010-12-09 Thread Ian Harry
Hi all, I am having a problem with manipulating colorbars. I want to take the cm.Blues colorbar and edit it so that the lowest end of the colorbar is light blue instead of white, or in other words I want to remove the lightest 1/4 of the colorbar and just keep the darker end. Is there any easy

Re: [Matplotlib-users] unable to point pick 2nd axis after upgrade to mpl 1.0

2010-12-09 Thread C M
I have created a runnable sample app that demonstrates the problem Here is a much simpler 10 line sample that doesn't require wxPython and demonstrates the problem: you can't pick the red line. This seems like a bug in mpl 1.0. import matplotlib.pyplot as plt fig = plt.figure() ax =

Re: [Matplotlib-users] unable to point pick 2nd axis after upgrade to mpl 1.0

2010-12-09 Thread Goyo
2010/12/9 C M cmpyt...@gmail.com: I have created a runnable sample app that demonstrates the problem Here is a much simpler 10 line sample that doesn't require wxPython and demonstrates the problem:  you can't pick the red line.  This seems like a bug in mpl 1.0. Confirmed using tkagg, mpl

[Matplotlib-users] Taylor diagram

2010-12-09 Thread mdekauwe
Hi, Has anyone ever managed to draw a taylor diagram in Matplotlib? For example like this http://www.mathworks.com/matlabcentral/fx_files/20559/2/taylordiag_fig.jpg Cheers, Martin -- View this message in context: http://old.nabble.com/Taylor-diagram-tp30421393p30421393.html Sent from the

[Matplotlib-users] memory leak caused by canvas.draw()

2010-12-09 Thread Russell E. Owen
I explored the memory leak in my strip chart widget some more and found that it is caused by calling canvas.draw(), where canvas is: figure = matplotlib.figure.Figure(figsize=(8, 2), frameon=True) canvas = FigureCanvasTkAgg(figure, self) canvas.show() exhibits exactly the same problem.

Re: [Matplotlib-users] Bus error on import - Mac OS X (10.5.8) Matplotlib 1.0.0

2010-12-09 Thread Russell E. Owen
In article 4cfd8253.5060...@hms.harvard.edu, Kaushik Ghose kaushik_gh...@hms.harvard.edu wrote: Hi Guys, I did a search on the mailing list but could not come up with a solution, so I am crying Uncle and writing. I installed matplotlib 1.0.0 from the package on SF

Re: [Matplotlib-users] unable to point pick 2nd axis after upgrade to mpl 1.0

2010-12-09 Thread Jae-Joon Lee
As far as I understand, all the events in matplotlib are associated with a single Axes instance (or None). For overlapping multiple axes, the axes with highest zorder is picked up. And a pick event only works for artists in the associated axes. While this simple approach is okay at least to me, I

Re: [Matplotlib-users] Taylor diagram

2010-12-09 Thread Arthur M. Greene
On 12/09/2010 05:42 PM, mdekauwe wrote: Hi, Has anyone ever managed to draw a taylor diagram in Matplotlib? For example like this http://www.mathworks.com/matlabcentral/fx_files/20559/2/taylordiag_fig.jpg Cheers, Martin Not sure whether Matplotlib can do this, but it can be done with

Re: [Matplotlib-users] unable to point pick 2nd axis after upgrade to mpl 1.0

2010-12-09 Thread Jae-Joon Lee
When I was using matplotlib 0.98.5.2, I had the same code as I have now, with two different axes, and pick events were picked up on lines belonging to either of the axes.  Unless I'm misunderstanding, something has changed and this used to be possible.  Is that correct? Yes, I believe this

Re: [Matplotlib-users] Taylor diagram (mdekauwe)

2010-12-09 Thread Nicolas
Hi Jean-Marie Epitalon (from IPSL) developped several scripts devoted to model inter-comparison, included Taylor Diagram, which you can find here (http://www.ipsl.jussieu.fr/~jmesce/Taylor_diagram/Miscelaneous/plot_taylor_diagrams.py) see also here