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

Skip to content

Commit eb86ed1

Browse files
committed
PEP8
1 parent c9f38ce commit eb86ed1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

lib/matplotlib/rcsetup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,16 @@
2222
import operator
2323
import os
2424
import warnings
25+
import re
26+
2527
try:
2628
import collections.abc as abc
2729
except ImportError:
2830
# python 2
2931
import collections as abc
3032
from matplotlib.fontconfig_pattern import parse_fontconfig_pattern
3133
from matplotlib.colors import is_color_like
32-
import re
34+
3335

3436
# Don't let the original cycler collide with our validating cycler
3537
from cycler import Cycler, cycler as ccycler

lib/matplotlib/tests/test_rcparams.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,5 +418,6 @@ def test_rcparams_reset_after_fail():
418418

419419
assert mpl.rcParams['text.usetex'] is False
420420

421+
421422
if __name__ == '__main__':
422423
nose.runmodule(argv=['-s', '--with-doctest'], exit=False)

0 commit comments

Comments
 (0)