Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

maintain compatibility with unimplemented backends

  • Loading branch information...
commit 3b19a1542b81c84a1e81e02431a78db2aae6b6fc 1 parent c090a9c
@mspacek authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/matplotlib/backend_bases.py
View
8 lib/matplotlib/backend_bases.py
@@ -2433,16 +2433,16 @@ def show_popup(self, msg):
def get_window_title(self):
"""
Get the title text of the window containing the figure.
- Return None if there is no window (eg, a PS backend).
+ Return None for non-GUI backends (eg, a PS backend).
"""
- raise NotImplementedError
+ return 'image'
def set_window_title(self, title):
"""
Set the title text of the window containing the figure. Note that
- this has no effect if there is no window (eg, a PS backend).
+ this has no effect for non-GUI backends (eg, a PS backend).
"""
- raise NotImplementedError
+ pass
class Cursors:
Please sign in to comment.
Something went wrong with that request. Please try again.