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

Skip to content

Commit a904fab

Browse files
committed
Shorten a line.
1 parent e2c460e commit a904fab

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/matplotlib/scale.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,8 @@ def transform_non_affine(self, a):
518518
abs_a = np.abs(a)
519519
with np.errstate(divide="ignore", invalid="ignore"):
520520
out = np.sign(a) * self.linthresh * (
521-
np.power(self.base, abs_a / self.linthresh - self._linscale_adj))
521+
np.power(self.base,
522+
abs_a / self.linthresh - self._linscale_adj))
522523
inside = abs_a <= self.invlinthresh
523524
out[inside] = a[inside] / self._linscale_adj
524525
return out

0 commit comments

Comments
 (0)