Hi,
ipython 3.0.0-dev
matplotlib 1.3.1
GTKAgg backend
mac osx 10.9
If I create a pick_event on an axvline (with picker=6), there is no
problem triggering the pick event the first time the figure is shown (or
many times if I _don't_ zoom or pan). But if I then zoom in or pan
(using the toolbar
Hello,
I am interested in using the Matplotlib transformation framework to
transform a rectangle into a different coordinate system. I am therefore
defining a Rectangle patch and setting the transform to what I want. If
I apply a non-linear transformation, the edges of the rectangle should
no
On Thu, Aug 21, 2014 at 9:44 AM, Michael Kaufman kaufma...@ornl.gov wrote:
# plot axvlines here... etc.
global cids
# remove any previous connections
for i in cids:
gcf().canvas.mpl_disconnect(i)
cids = []
Yes, those tools do snarf up pick events via the widgetlock mechanism,
IIRC. This is entirely intentional, and I an not sure there is a bug here
to fix.
On Thu, Aug 21, 2014 at 12:01 PM, Thomas Caswell tcasw...@gmail.com wrote:
On Thu, Aug 21, 2014 at 9:44 AM, Michael Kaufman
What kind of bad stuff happens if we were to allow that?
M
On 8/21/14 2:29 PM, Benjamin Root wrote:
Yes, those tools do snarf up pick events via the widgetlock mechanism,
IIRC. This is entirely intentional, and I an not sure there is a bug
here to fix.
On Thu, Aug 21, 2014 at 12:01 PM,
Imagine someone creates some event that would modify an artist upon
picking, or do some expensive calculation, or some other action. But, I
seriously doubt anybody would want those actions to fire while using the
zoom/pan tool. Especially since the mouse cursor looks totally different. I
am
My user-story is that I have say several axvlines very close together in
bunches in the standard xlim(). Take for example spectral lines (or fits
to spectral lines). I want to pick a line and have the program tell me
the x-location of that line. Since they're close together I need to zoom
in
I think the OP's desire is to have pick events fire after the zoom has been
triggered.
Currently, after you zoom (or pan), the zoom tool is still active until you
click it again. Pick events won't fire while the zoom tool is the selected
tool, and you have to manually de-select it (i.e. click
On 2014-08-21 11:55, Michael Kaufman wrote: My user-story is that I
have say several axvlines very close together in
bunches in the standard xlim(). Take for example spectral lines (or
fits
to spectral lines). I want to pick a line and have the program tell me
the x-location of that line.
Hmm, maybe my expectations are not common. Generally when I'm zooming in
on data, I want to zoom multiple times one right after another.
You always want this behavior when you're panning: you don't want the
pan tool to deselect after you release the button. I'm not quite sure
why anyone would
Pick events, by default, won't fire while the zoom/pan tool is active,
because there is no way to distinguish between a pick click, and a click
for performing a zoom/pan. So, the question is really, is it sensible to
keep the tools active after their action. I think it is, particularly when
I think there is: for a zoom/pan, the mouse must move a certain distance
to be considered the start of a zoom or pan (button down - drag -
button up). A pick can be just a click (button down - button up, no or
minimal change in mouse position 1,2 pts?).
M
On 8/21/14 3:22 PM, Benjamin Root
12 matches
Mail list logo