Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7cca455

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

File tree

Expand file treeCollapse file tree

1 file changed

+0
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-1
lines changed

‎lib/matplotlib/ticker.py

Copy file name to clipboardExpand all lines: lib/matplotlib/ticker.py
-1Lines changed: 0 additions & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.