Skip to content

Collection

Inherits from (Artist, ScalarMappable)

Wrapper for Matplotlib.collections.Collection

Properties

colors (Array/List)

A list of values describing the colors in a colormap for each element of the collection. This property is prioritized over color The default is None.
Python methods:

Name Parameters Return Type
get_colors() - Array/List
set_colors() colors : Array/List None

color (String)

A string with the color for all of the collection objects. The default is None.
Python methods:

Name Parameters Return Type
get_color() - String
set_color() color : String None

markerEdgeColors (Array/List)

A list of values describing the border colors in a colormap for each element of the collection. This property is prioritized over markerEdgeColor The default is None.
Python methods:

Name Parameters Return Type
get_edgecolors() - Array/List
set_edgecolors() markerEdgeColors: Array/List None

markerEdgeColor (String)

A string with the border color for all of the collection objects. The default is None.
Python methods:

Name Parameters Return Type
get_edgecolor() - String
set_edgecolor() markerEdgeColor: String None

linewidths (Array/List)

A list of values thickness of the line stroke for each element of the collection. This property is prioritized over linewidth The default is None.
Python methods:

Name Parameters Return Type
get_linewidths() - Array/List
set_linewidths() linewidths: Array/List None

linewidth (Float)

A float value with the line stroke thickness for all of the collection objects. The default is None.
Python methods:

Name Parameters Return Type
get_linewidth() - Float
set_linewidth() linewidth: Float None

linestyle (String)

The linestyle for all of the collection objects. The default is None.
Python methods:

Name Parameters Return Type
get_linestyle() - String
set_linestyle() linestyle: String None

hatch (String)

The hatch pattern for all of the collection objects. The default is None.
Python methods:

Name Parameters Return Type
get_hatch() - String
set_hatch() hatch: String None