Return the y-axis view limits. Returns ------- bottom, top : (float, float) The current y-axis limits in data coordinates. See Also -------- .Axes.set_ylim .Axes.set_ybound, .Axes.get_ybound .Axes.invert_yaxis, .A
(self)
| 4119 | auto=None) |
| 4120 | |
| 4121 | def get_ylim(self): |
| 4122 | """ |
| 4123 | Return the y-axis view limits. |
| 4124 | |
| 4125 | Returns |
| 4126 | ------- |
| 4127 | bottom, top : (float, float) |
| 4128 | The current y-axis limits in data coordinates. |
| 4129 | |
| 4130 | See Also |
| 4131 | -------- |
| 4132 | .Axes.set_ylim |
| 4133 | .Axes.set_ybound, .Axes.get_ybound |
| 4134 | .Axes.invert_yaxis, .Axes.yaxis_inverted |
| 4135 | |
| 4136 | Notes |
| 4137 | ----- |
| 4138 | The y-axis may be inverted, in which case the *bottom* value |
| 4139 | will be greater than the *top* value. |
| 4140 | """ |
| 4141 | return tuple(self.viewLim.intervaly) |
| 4142 | |
| 4143 | def set_ylim(self, bottom=None, top=None, *, emit=True, auto=False, |
| 4144 | ymin=None, ymax=None): |
no outgoing calls