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 dab724a commit bd71341Copy full SHA for bd71341
lib/matplotlib/__init__.py
@@ -243,7 +243,7 @@ class Verbose:
243
# --verbose-silent or --verbose-helpful
244
_commandLineVerbose = None
245
246
- for arg in sys.argv[1:]:
+ for arg in map(six.u, sys.argv[1:]):
247
if not arg.startswith('--verbose-'):
248
continue
249
level_str = arg[10:]
@@ -1212,7 +1212,7 @@ def tk_window_focus():
1212
# Allow command line access to the backend with -d (MATLAB compatible
1213
# flag)
1214
1215
-for s in sys.argv[1:]:
+for s in map(six.u, sys.argv[1:]):
1216
if s.startswith('-d') and len(s) > 2: # look for a -d flag
1217
try:
1218
use(s[2:])
0 commit comments