10000 Fix +/- typo · matplotlib/matplotlib@a311b96 · GitHub
[go: up one dir, main page]

Skip to content

Commit a311b96

Browse files
committed
Fix +/- typo
1 parent 7c9e413 commit a311b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/colorbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ def _process_values(self, b=None):
701701
b[-1] = 1.1 * b[-1]
702702
else:
703703
if self._extend_lower():
704-
b[0] = b[0] + 1
704+
b[0] = b[0] - 1
705705
if self._extend_upper():
706706
b[-1] = b[-1] + 1
707707
self._process_values(b)

0 commit comments

Comments
 (0)
0