Skip to content

Commit 7cca455

Browse files
authored
Merge pull request #9438 from cgohlke/patch-9
Remove unused variable 'sign'
2 parents b18970d + f713b90 commit 7cca455

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/matplotlib/ticker.py

-1
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,6 @@ def __call__(self, x, pos=None):
983983
if x == 0.0: # Symlog
984984
return '0'
985985

986-
sign = np.sign(x)
987986
x = abs(x)
988987
b = self._base
989988
# only label the decades

0 commit comments

Comments
 (0)