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 e2c460e commit a904fabCopy full SHA for a904fab
1 file changed
lib/matplotlib/scale.py
@@ -518,7 +518,8 @@ def transform_non_affine(self, a):
518
abs_a = np.abs(a)
519
with np.errstate(divide="ignore", invalid="ignore"):
520
out = np.sign(a) * self.linthresh * (
521
- np.power(self.base, abs_a / self.linthresh - self._linscale_adj))
+ np.power(self.base,
522
+ abs_a / self.linthresh - self._linscale_adj))
523
inside = abs_a <= self.invlinthresh
524
out[inside] = a[inside] / self._linscale_adj
525
return out
0 commit comments