Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a828dd commit e9f0839Copy full SHA for e9f0839
lib/matplotlib/colorbar.py
@@ -653,12 +653,14 @@ def _process_values(self, b=None):
653
self._values = v
654
return
655
else:
656
- self.norm.vmin, self.norm.vmax = mtrans.nonsingular(self.norm.vmin,
657
- self.norm.vmax,
658
- expander=0.1)
659
if not self.norm.scaled():
660
self.norm.vmin = 0
661
self.norm.vmax = 1
+
+ self.norm.vmin, self.norm.vmax = mtrans.nonsingular(self.norm.vmin,
+ self.norm.vmax,
662
+ expander=0.1)
663
664
b = self.norm.inverse(self._uniform_y(self.cmap.N + 1))
665
if self._extend_lower():
666
b[0] = b[0] - 1
0 commit comments