Set the radial axis view limits. This function behaves like `.Axes.set_ylim`, but additionally supports *rmin* and *rmax* as aliases for *bottom* and *top*. See Also -------- .Axes.set_ylim
(self, bottom=None, top=None, *,
emit=True, auto=False, **kwargs)
| 1202 | return np.sign(self._originViewLim.y1 - self._originViewLim.y0) |
| 1203 | |
| 1204 | def set_rlim(self, bottom=None, top=None, *, |
| 1205 | emit=True, auto=False, **kwargs): |
| 1206 | """ |
| 1207 | Set the radial axis view limits. |
| 1208 | |
| 1209 | This function behaves like `.Axes.set_ylim`, but additionally supports |
| 1210 | *rmin* and *rmax* as aliases for *bottom* and *top*. |
| 1211 | |
| 1212 | See Also |
| 1213 | -------- |
| 1214 | .Axes.set_ylim |
| 1215 | """ |
| 1216 | if 'rmin' in kwargs: |
| 1217 | if bottom is None: |
| 1218 | bottom = kwargs.pop('rmin') |
| 1219 | else: |
| 1220 | raise ValueError('Cannot supply both positional "bottom"' |
| 1221 | 'argument and kwarg "rmin"') |
| 1222 | if 'rmax' in kwargs: |
| 1223 | if top is None: |
| 1224 | top = kwargs.pop('rmax') |
| 1225 | else: |
| 1226 | raise ValueError('Cannot supply both positional "top"' |
| 1227 | 'argument and kwarg "rmax"') |
| 1228 | return self.set_ylim(bottom=bottom, top=top, emit=emit, auto=auto, |
| 1229 | **kwargs) |
| 1230 | |
| 1231 | def get_rlabel_position(self): |
| 1232 | """ |