本文簡要介紹 python 語言中mpl_toolkits.axisartist.axisline_style.AxislineStyle
的用法。
-
基礎:
_Style
為 AxisArtists 定義樣式類的容器類。
任何軸線樣式類的實例都是可調用對象,其調用簽名為
__call__(self, axis_artist, path, transform)
調用時,它應該返回一個帶有以下方法的
Artist
:def set_path(self, path): # set the path for axisline. def set_line_mutation_scale(self, scale): # set the scale def draw(self, renderer): # draw
返回具有給定樣式名稱的子類的實例。
用法
class mpl_toolkits.axisartist.axisline_style.AxislineStyle(stylename, **kwargs)
相關用法
- Python matplotlib AxisArtist.toggle用法及代碼示例
- Python matplotlib Axis.get_tick_params用法及代碼示例
- Python matplotlib AxisArtist.set_axisline_style用法及代碼示例
- Python matplotlib AxisArtistHelper用法及代碼示例
- 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.axisline_style.AxislineStyle。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。