We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d358cc3 commit 3bcc18aCopy full SHA for 3bcc18a
lib/matplotlib/backends/_backend_gtk.py
@@ -43,7 +43,7 @@ def _create_application():
43
44
if _application is None:
45
app = Gio.Application.get_default()
46
- if app is None or getattr(app, '_created_by_matplotlib'):
+ if app is None or getattr(app, '_created_by_matplotlib', False):
47
# display_is_valid returns False only if on Linux and neither X11
48
# nor Wayland display can be opened.
49
if not mpl._c_internal_utils.display_is_valid():
0 commit comments