Hide the tick labels, ticks, and axis lines of the x-axis. The x-axis label will remain visible, but can be removed with .axes.set_xaxis_label("")
(self)
| 157 | return self._chart |
| 158 | |
| 159 | def hide_xaxis(self): |
| 160 | """Hide the tick labels, ticks, and axis lines of the x-axis. |
| 161 | |
| 162 | The x-axis label will remain visible, but can be |
| 163 | removed with .axes.set_xaxis_label("") |
| 164 | |
| 165 | """ |
| 166 | # self._chart.figure.xaxis.visible = False |
| 167 | |
| 168 | self._chart.figure.xaxis.axis_line_alpha = 0 |
| 169 | self._chart.figure.xaxis.major_tick_line_color = None |
| 170 | self._chart.figure.xaxis.minor_tick_line_color = None |
| 171 | self._chart.figure.xaxis.major_label_text_color = None |
| 172 | |
| 173 | return self._chart |
| 174 | |
| 175 | def set_xaxis_tick_orientation(self, orientation="horizontal"): |
| 176 | """Change the orientation or the x axis tick labels. |
no outgoing calls
no test coverage detected