You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
<areashape="rect" id="node1" href="#matplotlib.collections.QuadMesh" title="Class for the efficient drawing of a quadrilateral mesh." alt="" coords="357,4,489,24"/>
<areashape="rect" id="node2" href="#matplotlib.collections.Collection" title="Base class for Collections.  Must be subclassed to be usable." alt="" coords="165,164,291,185"/>
<areashape="rect" id="node5" href="#matplotlib.collections.RegularPolyCollection" title="Draw a collection of regular polygons with *numsides*." alt="" coords="330,44,516,65"/>
<areashape="rect" id="node7" href="#matplotlib.collections.PathCollection" title="This is the most basic :class:`Collection` subclass." alt="" coords="349,84,497,105"/>
<areashape="rect" id="node12" href="#matplotlib.collections.LineCollection" title="All parameters must be sequences or scalars; if scalars, they will" alt="" coords="349,164,497,185"/>
<areashape="rect" id="node14" href="#matplotlib.collections.TriMesh" title="Class for the efficient drawing of a triangular mesh using" alt="" coords="366,204,480,225"/>
<areashape="rect" id="node16" href="#matplotlib.collections.EllipseCollection" title="A collection of ellipses, drawn using splines." alt="" coords="344,245,502,265"/>
<areashape="rect" id="node27" href="#matplotlib.collections.CircleCollection" title="A collection of circles, drawn using splines." alt="" coords="345,285,501,305"/>
<areashape="rect" id="node30" href="#matplotlib.collections.PatchCollection" title="A generic collection of patches." alt="" coords="345,325,501,345"/>
<areashape="rect" id="node4" href="#matplotlib.collections.StarPolygonCollection" title="Draw a collection of regular stars with *numsides* points." alt="" coords="565,24,754,45"/>
<areashape="rect" id="node18" href="#matplotlib.collections.AsteriskPolygonCollection" title="Draw a collection of regular asterisks with *numsides* points." alt="" coords="555,65,764,85"/>
<areashape="rect" id="node9" href="#matplotlib.collections.BrokenBarHCollection" title="A collection of horizontal bars spanning *yrange* with a sequence of" alt="" coords="565,124,754,145"/>
<areashape="rect" id="node20" href="#matplotlib.collections.EventCollection" title="A collection of discrete events." alt="" coords="582,164,737,185"/>
<areashape="rect" id="node22" href="artist_api.html#matplotlib.artist.Artist" title="Abstract base class for someone who renders into a" alt="" coords="27,144,103,164"/>
<areashape="rect" id="node24" href="cm_api.html#matplotlib.cm.ScalarMappable" title="This is a mixin class to support scalar data to RGBA mapping." alt="" coords="5,184,125,204"/>
<emclass="property">class </em><ttclass="descclassname">matplotlib.collections.</tt><ttclass="descname">BrokenBarHCollection</tt><big>(</big><em>xranges</em>, <em>yrange</em>, <em>**kwargs</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.BrokenBarHCollection" title="Permalink to this definition">¶</a></dt>
<emclass="property">static </em><ttclass="descname">span_where</tt><big>(</big><em>x</em>, <em>ymin</em>, <em>ymax</em>, <em>where</em>, <em>**kwargs</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.BrokenBarHCollection.span_where" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a BrokenBarHCollection to plot horizontal bars from
over the regions in <em>x</em> where <em>where</em> is True. The bars range
on the y-axis from <em>ymin</em> to <em>ymax</em></p>
<p>A <aclass="reference internal" href="#matplotlib.collections.BrokenBarHCollection" title="matplotlib.collections.BrokenBarHCollection"><ttclass="xref py py-class docutils literal"><spanclass="pre">BrokenBarHCollection</span></tt></a> is returned. <em>kwargs</em> are
passed on to the collection.</p>
</dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.collections.CircleCollection">
<emclass="property">class </em><ttclass="descclassname">matplotlib.collections.</tt><ttclass="descname">CircleCollection</tt><big>(</big><em>sizes</em>, <em>**kwargs</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.CircleCollection" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">draw</tt><big>(</big><em>artist</em>, <em>renderer</em>, <em>*args</em>, <em>**kwargs</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.CircleCollection.draw" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_sizes</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.CircleCollection.get_sizes" title="Permalink to this definition">¶</a></dt>
<p><em>offsets</em> and <em>transOffset</em> are used to translate the patch after
rendering (default no offsets). If offset_position is ‘screen’
(default) the offset is applied after the master transform has
been applied, that is, the offsets are in screen coordinates. If
offset_position is ‘data’, the offset is applied before the master
transform, i.e., the offsets are in data coordinates.</p>
<p>If any of <em>edgecolors</em>, <em>facecolors</em>, <em>linewidths</em>, <em>antialiaseds</em>
are None, they default to their <ttclass="xref py py-data docutils literal"><spanclass="pre">matplotlib.rcParams</span></tt> patch
setting, in sequence form.</p>
<p>The use of <aclass="reference internal" href="cm_api.html#matplotlib.cm.ScalarMappable" title="matplotlib.cm.ScalarMappable"><ttclass="xref py py-class docutils literal"><spanclass="pre">ScalarMappable</span></tt></a> is optional. If
the <aclass="reference internal" href="cm_api.html#matplotlib.cm.ScalarMappable" title="matplotlib.cm.ScalarMappable"><ttclass="xref py py-class docutils literal"><spanclass="pre">ScalarMappable</span></tt></a> matrix _A is not None
(ie a call to set_array has been made), at draw time a call to
scalar mappable will be made to set the face colors.</p>
<ttclass="descname">contains</tt><big>(</big><em>mouseevent</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.contains" title="Permalink to this definition">¶</a></dt>
<dd><p>Test whether the mouse event occurred in the collection.</p>
<p>Returns True | False, <ttclass="docutils literal"><spanclass="pre">dict(ind=itemlist)</span></tt>, where every
item in itemlist contains the event.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.collections.Collection.draw">
<ttclass="descname">draw</tt><big>(</big><em>artist</em>, <em>renderer</em>, <em>*args</em>, <em>**kwargs</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.draw" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_dashes</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.get_dashes" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_datalim</tt><big>(</big><em>transData</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.get_datalim" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_edgecolor</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.get_edgecolor" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_edgecolors</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.get_edgecolors" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_facecolor</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.get_facecolor" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_facecolors</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.get_facecolors" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_hatch</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.get_hatch" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_linestyle</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.get_linestyle" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_linestyles</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.get_linestyles" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_linewidth</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.get_linewidth" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_linewidths</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.get_linewidths" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_offset_position</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.get_offset_position" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns how offsets are applied for the collection. If
<em>offset_position</em> is ‘screen’, the offset is applied after the
master transform has been applied, that is, the offsets are in
screen coordinates. If offset_position is ‘data’, the offset
is applied before the master transform, i.e., the offsets are
<ttclass="descname">get_offset_transform</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.get_offset_transform" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_offsets</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.get_offsets" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_paths</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.get_paths" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_pickradius</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.get_pickradius" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_transforms</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.get_transforms" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_urls</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.get_urls" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_window_extent</tt><big>(</big><em>renderer</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.get_window_extent" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">set_alpha</tt><big>(</big><em>alpha</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_alpha" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the alpha tranparencies of the collection. <em>alpha</em> must be
<ttclass="descname">set_antialiased</tt><big>(</big><em>aa</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_antialiased" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the antialiasing state for rendering.</p>
<ttclass="descname">set_antialiaseds</tt><big>(</big><em>aa</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_antialiaseds" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">set_color</tt><big>(</big><em>c</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_color" title="Permalink to this definition">¶</a></dt>
<dd><p>Set both the edgecolor and the facecolor.</p>
<p>ACCEPTS: matplotlib color arg or sequence of rgba tuples</p>
<ttclass="descname">set_dashes</tt><big>(</big><em>ls</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_dashes" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">set_edgecolor</tt><big>(</big><em>c</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_edgecolor" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the edgecolor(s) of the collection. <em>c</em> can be a
matplotlib color arg (all patches have same color), or a
sequence of rgba tuples; if it is a sequence the patches will
cycle through the sequence.</p>
<p>If <em>c</em> is ‘face’, the edge color will always be the same as
the face color. If it is ‘none’, the patch boundary will not
be drawn.</p>
<p>ACCEPTS: matplotlib color arg or sequence of rgba tuples</p>
<ttclass="descname">set_edgecolors</tt><big>(</big><em>c</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_edgecolors" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">set_facecolor</tt><big>(</big><em>c</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_facecolor" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the facecolor(s) of the collection. <em>c</em> can be a
matplotlib color arg (all patches have same color), or a
sequence of rgba tuples; if it is a sequence the patches will
cycle through the sequence.</p>
<p>If <em>c</em> is ‘none’, the patch will not be filled.</p>
<p>ACCEPTS: matplotlib color arg or sequence of rgba tuples</p>
<ttclass="descname">set_facecolors</tt><big>(</big><em>c</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_facecolors" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">set_hatch</tt><big>(</big><em>hatch</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_hatch" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">set_linestyle</tt><big>(</big><em>ls</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_linestyle" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the linestyle(s) for the collection.</p>
<ttclass="descname">set_linestyles</tt><big>(</big><em>ls</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_linestyles" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">set_linewidth</tt><big>(</big><em>lw</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_linewidth" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the linewidth(s) for the collection. <em>lw</em> can be a scalar
or a sequence; if it is a sequence the patches will cycle
<ttclass="descname">set_linewidths</tt><big>(</big><em>lw</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_linewidths" title="Permalink to this definition">¶</a></dt>
<dd><p>alias for set_linewidth</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.collections.Collection.set_lw">
<ttclass="descname">set_lw</tt><big>(</big><em>lw</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_lw" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">set_offset_position</tt><big>(</big><em>offset_position</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_offset_position" title="Permalink to this definition">¶</a></dt>
<dd><p>Set how offsets are applied. If <em>offset_position</em> is ‘screen’
(default) the offset is applied after the master transform has
been applied, that is, the offsets are in screen coordinates.
If offset_position is ‘data’, the offset is applied before the
master transform, i.e., the offsets are in data coordinates.</p>
<ttclass="descname">set_offsets</tt><big>(</big><em>offsets</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_offsets" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the offsets for the collection. <em>offsets</em> can be a scalar
<ttclass="descname">set_paths</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_paths" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">set_pickradius</tt><big>(</big><em>pr</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_pickradius" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">set_urls</tt><big>(</big><em>urls</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.set_urls" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">update_from</tt><big>(</big><em>other</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.update_from" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">update_scalarmappable</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.Collection.update_scalarmappable" title="Permalink to this definition">¶</a></dt>
<dd><p>If the scalar mappable array is not none, update colors
from scalar data</p>
</dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.collections.EllipseCollection">
<emclass="property">class </em><ttclass="descclassname">matplotlib.collections.</tt><ttclass="descname">EllipseCollection</tt><big>(</big><em>widths</em>, <em>heights</em>, <em>angles</em>, <em>units='points'</em>, <em>**kwargs</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.EllipseCollection" title="Permalink to this definition">¶</a></dt>
<div>units in which majors and minors are given; ‘width’ and
‘height’ refer to the dimensions of the axes, while ‘x’
and ‘y’ refer to the <em>offsets</em> data units. ‘xy’ differs
from all others in that the angle as plotted varies with
the aspect ratio, and equals the specified angle only when
the aspect ratio is unity. Hence it behaves the same as
the <aclass="reference internal" href="artist_api.html#matplotlib.patches.Ellipse" title="matplotlib.patches.Ellipse"><ttclass="xref py py-class docutils literal"><spanclass="pre">Ellipse</span></tt></a> with
axes.transData as its transform.</div></blockquote>
<p>Additional kwargs inherited from the base <aclass="reference internal" href="#matplotlib.collections.Collection" title="matplotlib.collections.Collection"><ttclass="xref py py-class docutils literal"><spanclass="pre">Collection</span></tt></a>:</p>
<ttclass="descname">draw</tt><big>(</big><em>artist</em>, <em>renderer</em>, <em>*args</em>, <em>**kwargs</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.EllipseCollection.draw" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.collections.EventCollection">
<emclass="property">class </em><ttclass="descclassname">matplotlib.collections.</tt><ttclass="descname">EventCollection</tt><big>(</big><em>positions</em>, <em>orientation=None</em>, <em>lineoffset=0</em>, <em>linelength=1</em>, <em>linewidth=None</em>, <em>color=None</em>, <em>linestyle='solid'</em>, <em>antialiased=None</em>, <em>**kwargs</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.EventCollection" title="Permalink to this definition">¶</a></dt>
<p><em>pickradius</em> is the tolerance for mouse clicks picking a line.
The default is 5 pt.</p>
<p>The use of <aclass="reference internal" href="cm_api.html#matplotlib.cm.ScalarMappable" title="matplotlib.cm.ScalarMappable"><ttclass="xref py py-class docutils literal"><spanclass="pre">ScalarMappable</span></tt></a> is optional.
If the <aclass="reference internal" href="cm_api.html#matplotlib.cm.ScalarMappable" title="matplotlib.cm.ScalarMappable"><ttclass="xref py py-class docutils literal"><spanclass="pre">ScalarMappable</span></tt></a> array
<ttclass="xref py py-attr docutils literal"><spanclass="pre">_A</span></tt> is not None (ie a call to
<aclass="reference internal" href="cm_api.html#matplotlib.cm.ScalarMappable.set_array" title="matplotlib.cm.ScalarMappable.set_array"><ttclass="xref py py-meth docutils literal"><spanclass="pre">set_array()</span></tt></a> has been made), at
draw time a call to scalar mappable will be made to set the colors.</p>
<ttclass="descname">add_positions</tt><big>(</big><em>position</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.EventCollection.add_positions" title="Permalink to this definition">¶</a></dt>
<dd><p>add one or more events at the specified positions</p>
<ttclass="descname">append_positions</tt><big>(</big><em>position</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.EventCollection.append_positions" title="Permalink to this definition">¶</a></dt>
<dd><p>add one or more events at the specified positions</p>
<ttclass="descname">extend_positions</tt><big>(</big><em>position</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.EventCollection.extend_positions" title="Permalink to this definition">¶</a></dt>
<dd><p>add one or more events at the specified positions</p>
<ttclass="descname">get_color</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.EventCollection.get_color" title="Permalink to this definition">¶</a></dt>
<dd><p>get the color of the lines used to mark each event</p>
<ttclass="descname">get_linelength</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.EventCollection.get_linelength" title="Permalink to this definition">¶</a></dt>
<dd><p>get the length of the lines used to mark each event</p>
<ttclass="descname">get_lineoffset</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.EventCollection.get_lineoffset" title="Permalink to this definition">¶</a></dt>
<dd><p>get the offset of the lines used to mark each event</p>
<ttclass="descname">get_linestyle</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.EventCollection.get_linestyle" title="Permalink to this definition">¶</a></dt>
<dd><p>get the style of the lines used to mark each event
<ttclass="descname">get_linewidth</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.EventCollection.get_linewidth" title="Permalink to this definition">¶</a></dt>
<dd><p>get the width of the lines used to mark each event</p>
<ttclass="descname">get_orientation</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.EventCollection.get_orientation" title="Permalink to this definition">¶</a></dt>
<dd><p>get the orientation of the event line, may be:
<ttclass="descname">get_positions</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.EventCollection.get_positions" title="Permalink to this definition">¶</a></dt>
<dd><p>return an array containing the floating-point values of the positions</p>
<ttclass="descname">is_horizontal</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.EventCollection.is_horizontal" title="Permalink to this definition">¶</a></dt>
<dd><p>True if the eventcollection is horizontal, False if vertical</p>
<ttclass="descname">set_linelength</tt><big>(</big><em>linelength</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.EventCollection.set_linelength" title="Permalink to this definition">¶</a></dt>
<dd><p>set the length of the lines used to mark each event</p>
<ttclass="descname">set_lineoffset</tt><big>(</big><em>lineoffset</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.EventCollection.set_lineoffset" title="Permalink to this definition">¶</a></dt>
<dd><p>set the offset of the lines used to mark each event</p>
<ttclass="descname">set_orientation</tt><big>(</big><em>orientation=None</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.EventCollection.set_orientation" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">set_positions</tt><big>(</big><em>positions</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.EventCollection.set_positions" title="Permalink to this definition">¶</a></dt>
<dd><p>set the positions of the events to the specified value</p>
<ttclass="descname">switch_orientation</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.EventCollection.switch_orientation" title="Permalink to this definition">¶</a></dt>
<dd><p>switch the orientation of the event line, either from vertical to
horizontal or vice versus</p>
</dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.collections.LineCollection">
<emclass="property">class </em><ttclass="descclassname">matplotlib.collections.</tt><ttclass="descname">LineCollection</tt><big>(</big><em>segments</em>, <em>linewidths=None</em>, <em>colors=None</em>, <em>antialiaseds=None</em>, <em>linestyles='solid'</em>, <em>offsets=None</em>, <em>transOffset=None</em>, <em>norm=None</em>, <em>cmap=None</em>, <em>pickradius=5</em>, <em>zorder=2</em>, <em>**kwargs</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.LineCollection" title="Permalink to this definition">¶</a></dt>
<p><em>pickradius</em> is the tolerance for mouse clicks picking a line.
The default is 5 pt.</p>
<dlclass="docutils">
<dt><em>zorder</em></dt>
<dd>The zorder of the LineCollection. Default is 2</dd>
</dl>
<p>The use of <aclass="reference internal" href="cm_api.html#matplotlib.cm.ScalarMappable" title="matplotlib.cm.ScalarMappable"><ttclass="xref py py-class docutils literal"><spanclass="pre">ScalarMappable</span></tt></a> is optional.
If the <aclass="reference internal" href="cm_api.html#matplotlib.cm.ScalarMappable" title="matplotlib.cm.ScalarMappable"><ttclass="xref py py-class docutils literal"><spanclass="pre">ScalarMappable</span></tt></a> array
<ttclass="xref py py-attr docutils literal"><spanclass="pre">_A</span></tt> is not None (ie a call to
<aclass="reference internal" href="cm_api.html#matplotlib.cm.ScalarMappable.set_array" title="matplotlib.cm.ScalarMappable.set_array"><ttclass="xref py py-meth docutils literal"><spanclass="pre">set_array()</span></tt></a> has been made), at
draw time a call to scalar mappable will be made to set the colors.</p>
<ttclass="descname">color</tt><big>(</big><em>c</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.LineCollection.color" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the color(s) of the line collection. <em>c</em> can be a
matplotlib color arg (all patches have same color), or a
sequence or rgba tuples; if it is a sequence the patches will
cycle through the sequence</p>
<p>ACCEPTS: matplotlib color arg or sequence of rgba tuples</p>
<ttclass="descname">get_color</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.LineCollection.get_color" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_colors</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.LineCollection.get_colors" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_segments</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.collections.LineCollection.get_segments" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">set_color</tt><big>(</big><em>c</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.LineCollection.set_color" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the color(s) of the line collection. <em>c</em> can be a
matplotlib color arg (all patches have same color), or a
sequence or rgba tuples; if it is a sequence the patches will
cycle through the sequence.</p>
<p>ACCEPTS: matplotlib color arg or sequence of rgba tuples</p>
<ttclass="descname">set_paths</tt><big>(</big><em>segments</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.LineCollection.set_paths" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">set_segments</tt><big>(</big><em>segments</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.LineCollection.set_segments" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">set_verts</tt><big>(</big><em>segments</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.LineCollection.set_verts" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.collections.PatchCollection">
<emclass="property">class </em><ttclass="descclassname">matplotlib.collections.</tt><ttclass="descname">PatchCollection</tt><big>(</big><em>patches</em>, <em>match_original=False</em>, <em>**kwargs</em><big>)</big><aclass="headerlink" href="#matplotlib.collections.PatchCollection" title="Permalink to this definition">¶</a></dt>
<p>This makes it easier to assign a color map to a heterogeneous
collection of patches.</p>
<p>This also may improve plotting speed, since PatchCollection will
draw faster than a large number of patches.</p>
<dlclass="docutils">
<dt><em>patches</em></dt>
<dd>a sequence of Patch objects. This list may include
a heterogeneous assortment of different patch types.</dd>
<dt><em>match_original</em></dt>
<dd>If True, use the colors and linewidths of the original
patches. If False, new colors may be assigned by
providing the standard collection arguments, facecolor,
edgecolor, linewidths, norm or cmap.</dd>
</dl>
<p>If any of <em>edgecolors</em>, <em>facecolors</em>, <em>linewidths</em>,
<em>antialiaseds</em> are None, they default to their
<ttclass="xref py py-data docutils literal"><spanclass="pre">matplotlib.rcParams</span></tt> patch setting, in sequence form.</p>
<p>The use of <aclass="reference internal" href="cm_api.html#matplotlib.cm.ScalarMappable" title="matplotlib.cm.ScalarMappable"><ttclass="xref py py-class docutils literal"><spanclass="pre">ScalarMappable</span></tt></a> is optional.
If the <aclass="reference internal" href="cm_api.html#matplotlib.cm.ScalarMappable" title="matplotlib.cm.ScalarMappable"><ttclass="xref py py-class docutils literal"><spanclass="pre">ScalarMappable</span></tt></a> matrix _A is not