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

Skip to content

Commit 0534ee5

Browse files
Remove a redundant comma
The comma doesn't have any effect, but triggers a lint warning: Expression value is unused. (`a,` means the tuple `(a,)`)
1 parent 50fc5dd commit 0534ee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/scale.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ def set_default_locators_and_formatters(self, axis):
576576
if self._base > 1:
577577
axis.set_major_formatter(LogFormatterSciNotation(self._base))
578578
else:
579-
axis.set_major_formatter('{x:.3g}'),
579+
axis.set_major_formatter('{x:.3g}')
580580

581581

582582
class LogitTransform(Transform):

0 commit comments

Comments
 (0)