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

Skip to content

Commit f060392

Browse files
committed
FIX: flake8
1 parent 11d1999 commit f060392

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/axes/_secondary_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def _parse_conversion(name, otherargs):
6363
otherargs = np.asarray(otherargs)
6464
return _LinearTransform(slope=otherargs[0], offset=otherargs[1])
6565
else:
66-
raise ValueError(f'"{name}" not a possible conversion string')
66+
raise ValueError('"{}" not a possible conversion string'.format(name))
6767

6868

6969
class Secondary_Axis(_AxesBase):
@@ -178,7 +178,7 @@ def set_location(self, location):
178178

179179
# this locator lets the axes move in the parent axes coordinates.
180180
# so it never needs to know where the parent is explicitly in
181-
# figure co-ordinates.
181+
# figure co-ordinates.
182182
# it gets called in `ax.apply_aspect() (of all places)
183183
self.set_axes_locator(secondary_locator)
184184

0 commit comments

Comments
 (0)