Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11d1999 commit f060392Copy full SHA for f060392
lib/matplotlib/axes/_secondary_axes.py
@@ -63,7 +63,7 @@ def _parse_conversion(name, otherargs):
63
otherargs = np.asarray(otherargs)
64
return _LinearTransform(slope=otherargs[0], offset=otherargs[1])
65
else:
66
- raise ValueError(f'"{name}" not a possible conversion string')
+ raise ValueError('"{}" not a possible conversion string'.format(name))
67
68
69
class Secondary_Axis(_AxesBase):
@@ -178,7 +178,7 @@ def set_location(self, location):
178
179
# this locator lets the axes move in the parent axes coordinates.
180
# so it never needs to know where the parent is explicitly in
181
- # figure co-ordinates.
+ # figure co-ordinates.
182
# it gets called in `ax.apply_aspect() (of all places)
183
self.set_axes_locator(secondary_locator)
184
0 commit comments