Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5f80ca1

Browse files
tacaswelltonysyu
authored andcommitted
pep8 clean up
1 parent eaa23ee commit 5f80ca1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/matplotlib/style/core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
STYLE_EXTENSION = 'mplstyle'
3030
STYLE_FILE_PATTERN = re.compile('([\S]+).%s$' % STYLE_EXTENSION)
3131

32+
3233
def is_style_file(filename):
3334
"""Return True if the filename looks like a style file."""
3435
return STYLE_FILE_PATTERN.match(filename) is not None
@@ -61,7 +62,6 @@ def use(name):
6162
raise ValueError(msg % style)
6263

6364

64-
6565
@contextlib.contextmanager
6666
def context(name, after_reset=False):
6767
"""Context manager for using style settings temporarily.
@@ -147,6 +147,7 @@ def update_nested_dict(main_dict, new_dict):
147147
library = None
148148
available = []
149149

150+
150151
def reload_library():
151152
"""Reload style library."""
152153
global library, available

0 commit comments

Comments
 (0)