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 (
https://github.com/matplotlib/matplotlib/pull/8403 ), 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 (
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 <+31%20317%20493%20211> | r.tap at marin.nl |
www.marin.nl

[image: LinkedIn] <https://www.linkedin.com/company/marin> [image:
YouTube] <http://www.youtube.com/marinmultimedia> [image: Twitter]
<https://twitter.com/MARIN_nieuws> [image: 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>

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org
https://mail.python.org/mailman/listinfo/matplotlib-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20170805/eb8ad0e2/attachment-0001.html>
-------------- 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>
-------------- 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>
-------------- 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>
-------------- 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>
-------------- 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>

ยทยทยท

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