matplotlib 3.5.1

BackRef

This class extends .Collection to represent a sequence of .Line2D \s instead of just a sequence of .Patch \s. Just as in .Collection , each property of a LineCollection may be either a single value or a list of values. This list is then used cyclically for each element of the LineCollection, so the property of the i \th element of the collection is:

prop[i % len(prop)]

The properties of each member of a LineCollection default to their values in lines.* instead of patch.* , and the property colors is added in place of edgecolors.

Represents a sequence of .Line2D \s that should be drawn together.

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

matplotlib.colorbar.Colorbar matplotlib.axes._axes.Axes.violin matplotlib.pyplot.stem matplotlib.pyplot.errorbar matplotlib.axes._axes.Axes.acorr matplotlib.streamplot.streamplot matplotlib.pyplot.streamplot networkx.drawing.nx_pylab.draw_networkx matplotlib.pyplot.acorr matplotlib.container.StemContainer.__init__ matplotlib.pyplot.xcorr matplotlib.axes._axes.Axes.eventplot matplotlib.legend_handler.HandlerStem._copy_collection_props matplotlib.collections.EventCollection.__init__ matplotlib.axes._axes.Axes.stem matplotlib.pyplot.eventplot networkx.drawing.nx_pylab.draw_networkx_edges matplotlib.axes._axes.Axes.xcorr matplotlib.pyplot.violinplot matplotlib.axes._axes.Axes.errorbar matplotlib.axes._axes.Axes.violinplot matplotlib.legend_handler.HandlerLineCollection

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /matplotlib/collections.py#1372
type: <class 'type'>
Commit: