|
From: Eric F. <ef...@ha...> - 2011-04-04 00:46:51
|
On 04/02/2011 02:48 PM, bdb112 wrote: > > Cannot pick markers '+','x' or others with zero area in plots made by > pyplot.scatter > > The example below > http://old.nabble.com/file/p31305303/picker_example_scatter.py > picker_example_scatter.py is from the matplotlib docs, but modified to use > scatter instead of plot (which works fine). > http://matplotlib.sourceforge.net/users/event_handling.html#picking-exercise > > run picker_example_scatter.py > <will not respond to any picks> > edit code replace 'x' with 'o' > <Works, but only if click is inside marker - i.e. ignores picker value.> > > See also > http://old.nabble.com/Can't-pick-on-various-scatter-markers-tp19140977p19140977.html > which describes the same problem. > > Ububtu 10.04 LTS > matplotlib 0.99.1.1 > Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) > > See https://github.com/matplotlib/matplotlib/pull/72 for a possible solution. Eric |