picker inpoerative on scatter markers x, + (those with zero area)

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)

···

--
View this message in context: http://old.nabble.com/picker-inpoerative-on-scatter-markers-x%2C-%2B-(those-with-zero-area)-tp31305303p31305303.html
Sent from the matplotlib - devel mailing list archive at Nabble.com.

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.

The bug is verified in 1.0.x. I have looked around, but haven't figured it out yet.

Eric

···

On 04/02/2011 02:48 PM, bdb112 wrote:

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

···

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)

Tried the fix over a 1.0.0 installation a few months old and it works, but
there are issues with blocking, which I have encountered before.
I will try on the current snapshot, and also adapt your fix to a 0.99
release which has a blocking behaviour that I understand better.

efiring wrote:

···

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

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

--
View this message in context: http://old.nabble.com/picker-inpoerative-on-scatter-markers-x%2C-%2B-(those-with-zero-area)-tp31305303p31320598.html
Sent from the matplotlib - devel mailing list archive at Nabble.com.