8000 maintain compatibility with unimplemented backends · matplotlib/matplotlib@3b19a15 · GitHub
[go: up one dir, main page]

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 3b19a15

Browse files
committed
maintain compatibility with unimplemented backends

1 file changed

+4
-4
lines changed

lib/matplotlib/backend_bases.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2433,16 +2433,16 @@ def show_popup(self, msg):
24332433
def get_window_title(self):
24342434
"""
24352435
Get the title text of the window containing the figure.
2436-
Return None if there is no window (eg, a PS backend).
2436+
Return None for non-GUI backends (eg, a PS backend).
24372437
"""
2438-
raise NotImplementedError
2438+
return 'image'
24392439

24402440
def set_window_title(self, title):
24412441
"""
24422442
Set the title text of the window containing the figure. Note that
2443-
this has no effect if there is no window (eg, a PS backend).
2443+
this has no effect for non-GUI backends (eg, a PS backend).
24442444
"""
2445-
raise NotImplementedError
2445+
pass
24462446

24472447

24482448
class Cursors:

0 commit comments

Comments
 (0)
0