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

Skip to content

Commit 4102b08

Browse files
committed
Add what's new entry and fix linting
1 parent 75d48f3 commit 4102b08

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
@@ -2086,6 +2086,7 @@ def add_default_state(self, value):
20862086
f'following: {keys}.')
20872087
self._default_state.add(value)
20882088

2089+
20892090
class SpanSelector(_SelectorWidget):
20902091
"""
20912092
Visually select a min/max range on a single axis and call a function with

0 commit comments

Comments
 (0)
0