Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d257c13

Browse filesBrowse files
committed
Deprecate unused FigureManagerBase.show_popup.
1 parent 0ddae6e commit d257c13
Copy full SHA for d257c13

File tree

Expand file treeCollapse file tree

3 files changed

+4
-3
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+4
-3
lines changed

‎doc/api/api_changes/2017-12-02-AL.rst

Copy file name to clipboard
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Deprecations
2+
````````````
3+
The unused ``FigureManagerBase.show_popup`` method is deprecated.

‎doc/devel/MEP/MEP27.rst

Copy file name to clipboardExpand all lines: doc/devel/MEP/MEP27.rst
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,6 @@ The description of this MEP gives us most of the solution:
114114
+--------------------------------------+------------------------------+---------------------+--------------------------------+
115115
|key_press |key_press | | |
116116
+--------------------------------------+------------------------------+---------------------+--------------------------------+
117-
|show_popup |show_poup | |Not used anywhere in mpl, and |
118-
| | | |does nothing. |
119-
+--------------------------------------+------------------------------+---------------------+--------------------------------+
120117
|get_window_title | |get_window_title | |
121118
+--------------------------------------+------------------------------+---------------------+--------------------------------+
122119
|set_window_title | |set_window_title | |

‎lib/matplotlib/backend_bases.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backend_bases.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2696,6 +2696,7 @@ def key_press(self, event):
26962696
if rcParams['toolbar'] != 'toolmanager':
26972697
key_press_handler(event, self.canvas, self.canvas.toolbar)
26982698

2699+
@cbook.deprecated("2.2")
26992700
def show_popup(self, msg):
27002701
"""Display message in a popup -- GUI only."""
27012702

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.