本文簡要介紹 python 語言中mpl_toolkits.axisartist.axis_artist.AxisArtist.toggle
的用法。
-
切換刻度、刻度標簽和(軸)標簽的可見性。要全部關閉,
axis.toggle(all=False)
關閉所有但打勾
axis.toggle(all=False, ticks=True)
全部打開,但(軸)標簽關閉
axis.toggle(all=True, label=False)
用法
toggle(all=None, ticks=None, ticklabels=None, label=None)
相關用法
- Python matplotlib AxisArtist.set_axisline_style用法及代碼示例
- Python matplotlib AxisArtistHelper用法及代碼示例
- Python matplotlib Axis.get_tick_params用法及代碼示例
- Python matplotlib AxislineStyle用法及代碼示例
- Python matplotlib Axes.get_legend_handles_labels用法及代碼示例
- Python matplotlib Axes.hist用法及代碼示例
- Python matplotlib Axes.step用法及代碼示例
- Python matplotlib Axes.contour用法及代碼示例
- Python matplotlib Axes.plot用法及代碼示例
- Python matplotlib Axes.semilogx用法及代碼示例
- Python matplotlib Axes.semilogy用法及代碼示例
- Python matplotlib Axes.inset_axes用法及代碼示例
- Python matplotlib Axes.axis用法及代碼示例
- Python matplotlib Axes.barbs用法及代碼示例
- Python matplotlib Axes.tripcolor用法及代碼示例
- Python matplotlib Axes.set_prop_cycle用法及代碼示例
- Python matplotlib Axes.axline用法及代碼示例
- Python matplotlib Axes.tick_params用法及代碼示例
- Python matplotlib Axes.axvspan用法及代碼示例
- Python matplotlib Axes3D.plot_trisurf用法及代碼示例
- Python matplotlib Axes3D.text2D用法及代碼示例
- Python matplotlib Axes.contourf用法及代碼示例
- Python matplotlib Axes.tricontourf用法及代碼示例
- Python matplotlib Axes.locator_params用法及代碼示例
- Python matplotlib Axes.set_ylim用法及代碼示例
注:本文由純淨天空篩選整理自skytowner.com大神的英文原創作品 mpl_toolkits.axisartist.axis_artist.AxisArtist.toggle。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。