Hide the tick labels, ticks, and axis lines of the y-axis. The y-axis label will remain visible, but can be removed with .axes.set_yaxis_label("")
(self)
| 52 | return self._chart |
| 53 | |
| 54 | def hide_yaxis(self): |
| 55 | """Hide the tick labels, ticks, and axis lines of the y-axis. |
| 56 | |
| 57 | The y-axis label will remain visible, but can be |
| 58 | removed with .axes.set_yaxis_label("") |
| 59 | """ |
| 60 | self._chart.figure.yaxis[self._y_axis_index].axis_line_alpha = 0 |
| 61 | self._chart.figure.yaxis[self._y_axis_index].major_tick_line_color = None |
| 62 | self._chart.figure.yaxis[self._y_axis_index].minor_tick_line_color = None |
| 63 | self._chart.figure.yaxis[self._y_axis_index].major_label_text_color = None |
| 64 | return self._chart |
| 65 | |
| 66 | |
| 67 | class BaseAxes(YAxisMixin): |
no outgoing calls
no test coverage detected