Skip to content

PEP8 : making pep8 happy again #2960

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/matplotlib/tests/test_collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ def test__EventCollection__switch_orientation():
splt.set_xlim(0, 2)


@image_comparison(baseline_images=
['EventCollection_plot__switch_orientation__2x'])
@image_comparison(
baseline_images=['EventCollection_plot__switch_orientation__2x'])
def test__EventCollection__switch_orientation_2x():
'''
check to make sure calling switch_orientation twice sets the
Expand Down
6 changes: 5 additions & 1 deletion lib/matplotlib/ticker.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,10 @@ class EngFormatter(Formatter):
plus a specified unit, e.g., 10 MHz instead of 1e7.
"""

# the unicode for -6 is the greek letter mu
# commeted here due to bug in pep8
# (https://github.com/jcrocholl/pep8/issues/271)

# The SI engineering prefixes
ENG_PREFIXES = {
-24: "y",
Expand All @@ -800,7 +804,7 @@ class EngFormatter(Formatter):
-15: "f",
-12: "p",
-9: "n",
-6: "\u03bc", # Greek letter mu
-6: "\u03bc",
-3: "m",
0: "",
3: "k",
Expand Down