Skip to content

Commit 148b29d

Browse files
committed
oh, pep8
oh, pep8
1 parent a96e944 commit 148b29d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/matplotlib/__init__.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -652,12 +652,14 @@ def _get_cachedir():
652652

653653
get_cachedir = verbose.wrap('CACHEDIR=%s', _get_cachedir, always=False)
654654

655+
655656
def _decode_filesystem_path(path):
656657
if isinstance(path, bytes):
657658
return path.decode(sys.getfilesystemencoding())
658659
else:
659660
return path
660661

662+
661663
def _get_data_path():
662664
'get the path to matplotlib data'
663665

@@ -667,7 +669,7 @@ def _get_data_path():
667669
raise RuntimeError('Path in environment MATPLOTLIBDATA not a '
668670
'directory')
669671
return path
670-
672+
671673
_file = _decode_filesystem_path(__file__)
672674
path = os.sep.join([os.path.dirname(_file), 'mpl-data'])
673675
if os.path.isdir(path):

0 commit comments

Comments
 (0)