8000 Fix flake8 issues. · matplotlib/matplotlib@3eb4779 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3eb4779

Browse files
committed
Fix flake8 issues.
1 parent 0c4a0d2 commit 3eb4779

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -830,8 +830,8 @@ def axhline(self, y=0, xmin=0, xmax=1, **kwargs):
830830
"""
831831
self._check_no_units([xmin, xmax], ['xmin', 'xmax'])
832832
if "transform" in kwargs:
833-
raise ValueError("'transform' is not allowed as a keyword argument; "
834-
"axhline generates its own transform.")
833+
raise ValueError("'transform' is not allowed as a keyword "
834+
"argument; axhline generates its own transform.")
835835
ymin, ymax = self.get_ybound()
836836

837837
# We need to strip away the units for comparison with
@@ -899,8 +899,8 @@ def axvline(self, x=0, ymin=0, ymax=1, **kwargs):
899899
"""
900900
self._check_no_units([ymin, ymax], ['ymin', 'ymax'])
901901
if "transform" in kwargs:
902-
raise ValueError("'transform' is not allowed as a keyword argument; "
903-
"axvline generates its own transform.")
902+
raise ValueError("'transform' is not allowed as a keyword "
903+
"argument; axvline generates its own transform.")
904904
xmin, xmax = self.get_xbound()
905905

906906
# We need to strip away the units for comparison with

lib/matplotlib/rcsetup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import logging
1919
from numbers import Number
2020
import operator
21-
import os
2221
import re
2322

2423
import numpy as np

0 commit comments

Comments
 (0)
0