8000 Add what's new entry and fix linting · matplotlib/matplotlib@3816a92 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3816a92

Browse files
committed
Add what's new entry and fix linting
1 parent f309a2f commit 3816a92

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Rotating selectors
2+
------------------
3+
4+
The `~matplotlib.widgets.RectangleSelector` and
5+
`~matplotlib.widgets.EllipseSelector` can now be rotated. The rotation is
6+
enabled and disabled by pressing the 'r' key.

lib/matplotlib/widgets.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2090,6 +2090,7 @@ def add_default_state(self, value):
20902090
f'following: {keys}.')
20912091
self._default_state.add(value)
20922092

2093+
20932094
class SpanSelector(_SelectorWidget):
20942095
"""
20952096
Visually select a min/max range on a single axis and call a function with

0 commit comments

Comments
 (0)
0