本文整理汇总了Python中matplotlib.contour.ContourSet.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python ContourSet.__init__方法的具体用法?Python ContourSet.__init__怎么用?Python ContourSet.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类matplotlib.contour.ContourSet
的用法示例。
在下文中一共展示了ContourSet.__init__方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from matplotlib.contour import ContourSet [as 别名]
# 或者: from matplotlib.contour.ContourSet import __init__ [as 别名]
def __init__(self, ax, *args, **kwargs):
"""
Draw triangular grid contour lines or filled regions,
depending on whether keyword arg 'filled' is False
(default) or True.
The first argument of the initializer must be an axes
object. The remaining arguments and keyword arguments
are described in TriContourSet.tricontour_doc.
"""
ContourSet.__init__(self, ax, *args, **kwargs)
示例2: __init__
# 需要导入模块: from matplotlib.contour import ContourSet [as 别名]
# 或者: from matplotlib.contour.ContourSet import __init__ [as 别名]
def __init__(self, ax, *args, **kwargs):
"""
Draw triangular grid contour lines or filled regions,
depending on whether keyword arg 'filled' is False
(default) or True.
The first argument of the initializer must be an axes
object. The remaining arguments and keyword arguments
are described in the docstring of `tricontour`.
"""
ContourSet.__init__(self, ax, *args, **kwargs)