File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,21 @@ revision, see the :ref:`github-stats`.
2424.. contents :: Table of Contents
2525 :depth: 3
2626
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+
2742.. _whats-new-1-4 :
2843
2944new in matplotlib-1.4
@@ -382,13 +397,6 @@ instead of ``:context:`` any time you want to reset the context.
382397Widgets
383398-------
384399
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-
392400Span Selector
393401`````````````
394402
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ def get_active(self):
121121 """
122122 return self ._active
123123
124- active = property (set_active , get_active , doc = "Is the widget active?" )
124+ active = property (get_active , set_active , doc = "Is the widget active?" )
125125
126126 def ignore (self , event ):
127127 """Return True if event should be ignored.
@@ -1095,7 +1095,7 @@ def _update(self):
10951095
10961096class _SelectorWidget (AxesWidget ):
10971097 def set_active (self , active ):
1098- super ( _SelectorWidget , self ) .set_active (active )
1098+ AxesWidget .set_active (self , active )
10991099 if active :
11001100 self .update_background (None )
11011101
You can’t perform that action at this time.
0 commit comments