SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] picker inpoerative on scatter markers x, + (those with zero area)

From: bdb112 <boy...@an...> - 2011年04月05日 03:34:55
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
> Mat...@li...
> 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-%28those-with-zero-area%29-tp31305303p31320598.html
Sent from the matplotlib - devel mailing list archive at Nabble.com.

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /