Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bdde30f

Browse files
committed
Deprecate backend_tkagg.AxisMenu.
Obsolete since the removal of "classic" (pre-toolbar2) toolbar support in 4243470.
1 parent b2a9e10 commit bdde30f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

doc/api/api_changes/2018-01-29-AL.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Deprecation of backend_tkagg.AxisMenu
2+
`````````````````````````````````````
3+
The above-mentioned class is deprecated, as it has become unused since the
4+
removal of "classic" toolbars.

lib/matplotlib/backends/backend_tkagg.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,7 @@ def full_screen_toggle(self):
582582
self.window.attributes('-fullscreen', not is_fullscreen)
583583

584584

585+
@cbook.deprecated("2.2")
585586
class AxisMenu(object):
586587
def __init__(self, master, naxes):
587588
self._master = master

0 commit comments

Comments
 (0)