mpl_toolkits.axisartist.axis_artist.GridlinesCollection¶
-
class
mpl_toolkits.axisartist.axis_artist.
GridlinesCollection
(*args, which='major', axis='both', **kwargs)[源代码]¶ 基类:
matplotlib.collections.LineCollection
参数: - which{“大”,“小”}
- axis{“两者”,“x”,“y”}
-
__module__
= 'mpl_toolkits.axisartist.axis_artist'¶
-
draw
(renderer)[源代码]¶ 使用给定的渲染器绘制艺术家(及其子对象)。
如果艺术家不可见,则此操作无效 (
Artist.get_visible
返回False)。参数: - 渲染器 :
RendererBase
子类。RenderBase子类。
笔记
此方法在Artist子类中被重写。
- 渲染器 :