We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 768c583 commit cee023eCopy full SHA for cee023e
doc/api/next_api_changes/deprecations/20693-EP.rst
@@ -0,0 +1,4 @@
1
+PolygonSelector
2
+^^^^^^^^^^^^^^^
3
+The *line* attribute is deprecated. If you want to change the selector
4
+artist properties, use the ``set_props`` or ``set_handle_props`` methods.
lib/matplotlib/widgets.py
@@ -2012,7 +2012,7 @@ def set_visible(self, visible):
2012
def artists(self):
2013
"""Tuple of the artists of the selector."""
2014
if getattr(self, '_handles_artists', None) is not None:
2015
- return (self._selection_artist, ) + self._handles_artists
+ return (self._selection_artist, *self._handles_artists)
2016
else:
2017
return (self._selection_artist, )
2018
0 commit comments