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 0747f6a commit 204a692Copy full SHA for 204a692
lib/matplotlib/__init__.py
@@ -147,6 +147,8 @@
147
import sys, os
148
import distutils.sysconfig
149
150
+if not hasattr(sys, 'argv'): # for modpython
151
+ sys.argv = ['modpython']
152
153
"""
154
Manage user customizations through a rc file.
@@ -193,9 +195,12 @@ class Verbose:
193
195
# parse the verbosity from the command line; flags look like
194
196
# --verbose-error or --verbose-helpful
197
_commandLineVerbose = None
198
+
199
200
for arg in sys.argv[1:]:
201
if not arg.startswith('--verbose-'): continue
202
_commandLineVerbose = arg[10:]
203
204
205
206
def __init__(self, level):
0 commit comments