(self, button, key, x, y)
| 1345 | self.norm.vmin, self.norm.vmax = new_ybound |
| 1346 | |
| 1347 | def drag_pan(self, button, key, x, y): |
| 1348 | # docstring inherited |
| 1349 | points = self.ax._get_pan_points(button, key, x, y) |
| 1350 | if points is not None: |
| 1351 | if self.orientation == 'horizontal': |
| 1352 | self.norm.vmin, self.norm.vmax = points[:, 0] |
| 1353 | elif self.orientation == 'vertical': |
| 1354 | self.norm.vmin, self.norm.vmax = points[:, 1] |
| 1355 | |
| 1356 | |
| 1357 | ColorbarBase = Colorbar # Backcompat API |
no test coverage detected