> It will work if you explicitly set its transform.
>
>star, = ax.plot([xdata[ind]], [ydata[ind]], '*',
> ms=40, mfc='y', mec='b',
> transform=thisline.get_transform())
>
>
JJ, thank you, this worked in my app as well.
> > I also use the identity of the picked line in my
>
> 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 th
On Thu, Dec 9, 2010 at 8:45 PM, Jae-Joon Lee wrote:
> 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 associa
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
2010/12/9 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.
Confirmed using tkagg, mpl 1.0.0 and Ub
> 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 = fig.add
Hello, list.
I have created a runnable sample app that demonstrates the problem
(mentioned also in another thread) in the subject line. The sample is:
- mpl 1.0 embedded in wxPython using wxAgg backend.
- using plot() for simplicity, but see same issue if it is plot_date(). (I
do date plotting)