File tree 2 files changed +17
-9
lines changed 2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,21 @@ revision, see the :ref:`github-stats`.
24
24
.. contents :: Table of Contents
25
25
:depth: 3
26
26
27
+ .. _whats-new-1-5 :
28
+
29
+ new in matplotlib-1.5
30
+ =====================
31
+
32
+ Widgets
33
+ -------
34
+
35
+ Active state of Selectors
36
+ `````````````````````````
37
+
38
+ All selectors now implement ``set_active `` and ``get_active `` methods (also
39
+ called when accessing the ``active `` property) to properly update and query
40
+ whether they are active.
41
+
27
42
.. _whats-new-1-4 :
28
43
29
44
new in matplotlib-1.4
@@ -382,13 +397,6 @@ instead of ``:context:`` any time you want to reset the context.
382
397
Widgets
383
398
-------
384
399
385
- Active state of Selectors
386
- `````````````````````````
387
-
388
- All selectors now implement ``set_active `` and ``get_active `` methods (also
389
- called when accessing the ``active `` property) to properly update and query
390
- whether they are active.
391
-
392
400
Span Selector
393
401
`````````````
394
402
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ def get_active(self):
121
121
"""
122
122
return self ._active
123
123
124
- active = property (set_active , get_active , doc = "Is the widget active?" )
124
+ active = property (get_active , set_active , doc = "Is the widget active?" )
125
125
126
126
def ignore (self , event ):
127
127
"""Return True if event should be ignored.
@@ -1095,7 +1095,7 @@ def _update(self):
1095
1095
1096
1096
class _SelectorWidget (AxesWidget ):
1097
1097
def set_active (self , active ):
1098
- super ( _SelectorWidget , self ) .set_active (active )
1098
+ AxesWidget .set_active (self , active )
1099
1099
if active :
1100
1100
self .update_background (None )
1101
1101
You can’t perform that action at this time.
0 commit comments