Set y-axis range. Args: start (numeric, optional): the start of the y-axis range end (numeric, optional): the end of the y-axis range Returns: Current chart object
(self, start=None, end=None)
| 270 | |
| 271 | class NumericalYMixin: |
| 272 | def set_yaxis_range(self, start=None, end=None): |
| 273 | """Set y-axis range. |
| 274 | |
| 275 | Args: |
| 276 | start (numeric, optional): the start of the y-axis range |
| 277 | end (numeric, optional): the end of the y-axis range |
| 278 | |
| 279 | Returns: |
| 280 | Current chart object |
| 281 | """ |
| 282 | if end is not None: |
| 283 | self._y_range.end = end |
| 284 | if start is not None: |
| 285 | self._y_range.start = start |
| 286 | return self._chart |
| 287 | |
| 288 | def set_yaxis_tick_values(self, values): |
| 289 | """Set y-axis tick values. |
no outgoing calls
no test coverage detected