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 72d2384

Browse filesBrowse files
committed
Deprecate the tk_window_focus function.
The tk backend has been reading directly from rcParams["tk.window_focus"] since 17e6145 (2005), and the function is unused since then.
1 parent 9f74ea7 commit 72d2384
Copy full SHA for 72d2384

File tree

Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed

‎doc/api/api_changes/2018-08-17-AL-deprecations.rst

Copy file name to clipboardExpand all lines: doc/api/api_changes/2018-08-17-AL-deprecations.rst
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ API deprecations
33

44
The following API elements are deprecated:
55

6+
- ``tk_window_focus``,
67
- ``mlab.demean``,

‎lib/matplotlib/__init__.py

Copy file name to clipboardExpand all lines: lib/matplotlib/__init__.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,6 +1379,7 @@ def is_interactive():
13791379
return rcParams['interactive']
13801380

13811381

1382+
@cbook.deprecated("3.1", alternative="rcParams['tk.window_focus']")
13821383
def tk_window_focus():
13831384
"""Return true if focus maintenance under TkAgg on win32 is on.
13841385
This currently works only for python.exe and IPython.exe.

0 commit comments

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