Polygon Selector Demo

Dear all,

I try to run the Polygon Selector Demo (https://matplotlib.org/devdocs/gallery/widgets/polygon_selector_demo.html#sphx-glr-gallery-widgets-polygon-selector-demo-py) but I get the following error:

ImportError: cannot import name PolygonSelector

I am using matplotlib 2.0.2. Can anybody please tell me what I?m doing wrong?

Regards,

Frank

dr. ir. Frank Tap | Software Engineer | Maritime Simulation & Software Group
MARIN | T +31 317 49 32 11 | r.tap at marin.nl<mailto:r.tap at marin.nl> | www.marin.nl<http://www.marin.nl>

[LinkedIn]<https://www.linkedin.com/company/marin> [YouTube] <http://www.youtube.com/marinmultimedia> [Twitter] <https://twitter.com/MARIN_nieuws> [Facebook] <https://www.facebook.com/marin.wageningen>
MARIN news: ?Hydrodynamics of Floating Offshore Structures? course, Singapore & Houston<http://www.marin.nl/web/News/News-items/Hydrodynamics-of-Floating-Offshore-Structures-course-Singapore-Houston.htm>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20170516/63401e7a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image015328.PNG
Type: image/png
Size: 293 bytes
Desc: image015328.PNG
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20170516/63401e7a/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image25c33d.PNG
Type: image/png
Size: 331 bytes
Desc: image25c33d.PNG
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20170516/63401e7a/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image4098a9.PNG
Type: image/png
Size: 333 bytes
Desc: image4098a9.PNG
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20170516/63401e7a/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image371909.PNG
Type: image/png
Size: 253 bytes
Desc: image371909.PNG
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20170516/63401e7a/attachment-0007.png>

The devdocs are built against current master (not 2.0.x ).

That PolygonSelector was added very recently (
New Feature - PolygonSelector Widget by bduick · Pull Request #8403 · matplotlib/matplotlib · GitHub ), is currently only on
the master branch, and will be included in the upcoming 2.1 release.

Tom

Dear all,

I try to run the Polygon Selector Demo (
Select indices from a collection using polygon selector — Matplotlib 3.9.0.dev730+gfcf57fe49e documentation)
but I get the following error:

ImportError: cannot import name PolygonSelector

I am using matplotlib 2.0.2. Can anybody please tell me what I?m doing
wrong?

Regards,

Frank

dr. ir. Frank Tap | Software Engineer | Maritime Simulation & Software
Group
MARIN | T +31 317 49 32 11 <+31%20317%20493%20211> | r.tap at marin.nl |
www.marin.nl

[image: LinkedIn] <https://www.linkedin.com/company/marin&gt; [image:
YouTube] <http://www.youtube.com/marinmultimedia&gt; [image: Twitter]
<https://twitter.com/MARIN_nieuws&gt; [image: Facebook]
<Facebook;
MARIN news: ?Hydrodynamics of Floating Offshore Structures? course,
Singapore & Houston
<http://www.marin.nl/web/News/News-items/Hydrodynamics-of-Floating-Offshore-Structures-course-Singapore-Houston.htm&gt;

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org
Matplotlib-users Info Page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20170805/eb8ad0e2/attachment-0001.html&gt;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image015328.PNG
Type: image/png
Size: 293 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20170805/eb8ad0e2/attachment-0005.png&gt;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image25c33d.PNG
Type: image/png
Size: 331 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20170805/eb8ad0e2/attachment-0006.png&gt;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image4098a9.PNG
Type: image/png
Size: 333 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20170805/eb8ad0e2/attachment-0007.png&gt;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image371909.PNG
Type: image/png
Size: 253 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20170805/eb8ad0e2/attachment-0008.png&gt;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image015328.PNG
Type: image/png
Size: 293 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20170805/eb8ad0e2/attachment-0009.png&gt;

···

On Sat, Aug 5, 2017 at 12:36 PM Tap, Frank <R.Tap at marin.nl> wrote: