Return the lower and upper y-axis bounds, in increasing order. See Also -------- set_ybound get_ylim, set_ylim invert_yaxis, yaxis_inverted
(self)
| 4069 | """)) |
| 4070 | |
| 4071 | def get_ybound(self): |
| 4072 | """ |
| 4073 | Return the lower and upper y-axis bounds, in increasing order. |
| 4074 | |
| 4075 | See Also |
| 4076 | -------- |
| 4077 | set_ybound |
| 4078 | get_ylim, set_ylim |
| 4079 | invert_yaxis, yaxis_inverted |
| 4080 | """ |
| 4081 | bottom, top = self.get_ylim() |
| 4082 | if bottom < top: |
| 4083 | return bottom, top |
| 4084 | else: |
| 4085 | return top, bottom |
| 4086 | |
| 4087 | def set_ybound(self, lower=None, upper=None): |
| 4088 | """ |