Set the colorbar long axis scale. Parameters ---------- scale : {"linear", "log", "symlog", "logit", ...} or `.ScaleBase` The axis scale type to apply. **kwargs Different keyword arguments are accepted, depending on the scale.
(self, scale, **kwargs)
| 1011 | self.alpha = None if isinstance(alpha, np.ndarray) else alpha |
| 1012 | |
| 1013 | def _set_scale(self, scale, **kwargs): |
| 1014 | """ |
| 1015 | Set the colorbar long axis scale. |
| 1016 | |
| 1017 | Parameters |
| 1018 | ---------- |
| 1019 | scale : {"linear", "log", "symlog", "logit", ...} or `.ScaleBase` |
| 1020 | The axis scale type to apply. |
| 1021 | |
| 1022 | **kwargs |
| 1023 | Different keyword arguments are accepted, depending on the scale. |
| 1024 | See the respective class keyword arguments: |
| 1025 | |
| 1026 | - `matplotlib.scale.LinearScale` |
| 1027 | - `matplotlib.scale.LogScale` |
| 1028 | - `matplotlib.scale.SymmetricalLogScale` |
| 1029 | - `matplotlib.scale.LogitScale` |
| 1030 | - `matplotlib.scale.FuncScale` |
| 1031 | - `matplotlib.scale.AsinhScale` |
| 1032 | |
| 1033 | Notes |
| 1034 | ----- |
| 1035 | By default, Matplotlib supports the above-mentioned scales. |
| 1036 | Additionally, custom scales may be registered using |
| 1037 | `matplotlib.scale.register_scale`. These scales can then also |
| 1038 | be used here. |
| 1039 | """ |
| 1040 | self.long_axis._set_axes_scale(scale, **kwargs) |
| 1041 | |
| 1042 | def remove(self): |
| 1043 | """ |
no test coverage detected