Skip to content

Commit 36cc266

Browse files
committed
Merge pull request #2960 from tacaswell/minor_pep8
PEP8 : making pep8 happy again
2 parents 599500c + 10f33cd commit 36cc266

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

lib/matplotlib/tests/test_collections.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ def test__EventCollection__switch_orientation():
233233
splt.set_xlim(0, 2)
234234

235235

236-
@image_comparison(baseline_images=
237-
['EventCollection_plot__switch_orientation__2x'])
236+
@image_comparison(
237+
baseline_images=['EventCollection_plot__switch_orientation__2x'])
238238
def test__EventCollection__switch_orientation_2x():
239239
'''
240240
check to make sure calling switch_orientation twice sets the

lib/matplotlib/ticker.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,10 @@ class EngFormatter(Formatter):
792792
plus a specified unit, e.g., 10 MHz instead of 1e7.
793793
"""
794794

795+
# the unicode for -6 is the greek letter mu
796+
# commeted here due to bug in pep8
797+
# (https://github.com/jcrocholl/pep8/issues/271)
798+
795799
# The SI engineering prefixes
796800
ENG_PREFIXES = {
797801
-24: "y",
@@ -800,7 +804,7 @@ class EngFormatter(Formatter):
800804
-15: "f",
801805
-12: "p",
802806
-9: "n",
803-
-6: "\u03bc", # Greek letter mu
807+
-6: "\u03bc",
804808
-3: "m",
805809
0: "",
806810
3: "k",

0 commit comments

Comments
 (0)