Thanks to visit codestin.com Credit goes to github.com
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 170de26 commit d770eb9Copy full SHA for d770eb9
1 file changed
lib/matplotlib/__init__.py
@@ -1191,7 +1191,8 @@ def interactive(b):
1191
1192
def is_interactive():
1193
'Return true if plot mode is interactive'
1194
- b = rcParams['interactive'] and hasattr(sys, 'ps1')
+ b = rcParams['interactive'] and (
1195
+ hasattr(sys, 'ps1') or sys.flags.interactive)
1196
return b
1197
1198
def tk_window_focus():
0 commit comments