[Matplotlib-users] zorder for collections

2011-04-02 Thread Thomas Robitaille
Hi, I would like to set the zorder on a collection e.g. PatchCollection. By looking at the matplotlib source code in collections.py, I figured that it would be possible to set the zorder attribute of a collection manually, e.g. p = PatchCollection(...) p.zorder = ... but I was wondering whethe

[Matplotlib-users] Widgets on top of FigureCanvas

2011-04-02 Thread Andreas Matthias
I would like to put a gtk.Button on top of a FigureCanvas. But whatever I try the FigureCanvas stays always on top hiding the button. Below is an example where I can change the order of buttons by switching the following two lines lay.put(but1,360,260) lay.put(but2,360,275) but this doesn'

Re: [Matplotlib-users] can't picker once pan or zoom chosen

2011-04-02 Thread bdb112
Straightfoward solution is to deselect zoom or pan by clicking those buttons again. The cursor returns to the "Arrow" shape. Any better solution? marc desmarais-2 wrote: > > I created a simple scatter plot and a service routine to print out the > coordinates of the points I pick with the curso

Re: [Matplotlib-users] Can't pick on various scatter markers

2011-04-02 Thread bdb112
This bug or feature? is still in matplotlib 0.99.1.1 (Ubuntu 10.04 LTS) More precisely scatter using symbols with zero area ('x', '+') will not pick, regardless of the float value in picker. Although this DOES work with plot, you can't vary the marker size between points like you can with scatter

[Matplotlib-users] import matplotlib.pyplot errors

2011-04-02 Thread Nate Gallagher
In [1]: import matplotlib.pyplot as plt --- ImportError Traceback (most recent call last) /Users/ibook/Downloads/ in () /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packag