8000 pep8 clean up · matplotlib/matplotlib@5f80ca1 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5f80ca1

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)
0