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 7e6be9d commit 061728aCopy full SHA for 061728a
1 file changed
lib/matplotlib/__init__.py
@@ -1288,12 +1288,7 @@ def interactive(b):
1288
1289
def is_interactive():
1290
'Return true if plot mode is interactive'
1291
- # ps1 exists if the python interpreter is running in an
1292
- # interactive console; sys.flags.interactive is true if a script
1293
- # is being run via "python -i".
1294
- b = rcParams['interactive'] and (
1295
- hasattr(sys, 'ps1') or sys.flags.interactive)
1296
- return b
+ return rcParams['interactive']
1297
1298
def tk_window_focus():
1299
"""Return true if focus maintenance under TkAgg on win32 is on.
0 commit comments