A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.eventplot.html below:

matplotlib.pyplot.eventplot — Matplotlib 3.1.2 documentation

Parameters:
positions : 1D or 2D array-like object

Each value is an event. If positions is a 2D array-like, each row corresponds to a row or a column of lines (depending on the orientation parameter).

orientation : {'horizontal', 'vertical'}, optional

Controls the direction of the event collections:

  • 'horizontal' : the lines are arranged horizontally in rows, and are vertical.
  • 'vertical' : the lines are arranged vertically in columns, and are horizontal.
lineoffsets : scalar or sequence of scalars, optional, default: 1

The offset of the center of the lines from the origin, in the direction orthogonal to orientation.

linelengths : scalar or sequence of scalars, optional, default: 1

The total height of the lines (i.e. the lines stretches from lineoffset - linelength/2 to lineoffset + linelength/2).

linewidths : scalar, scalar sequence or None, optional, default: None

The line width(s) of the event lines, in points. If it is None, defaults to its rcParams setting.

colors : color, sequence of colors or None, optional, default: None

The color(s) of the event lines. If it is None, defaults to its rcParams setting.

linestyles : str or tuple or a sequence of such values, optional

Default is 'solid'. Valid strings are ['solid', 'dashed', 'dashdot', 'dotted', '-', '--', '-.', ':']. Dash tuples should be of the form:

where onoffseq is an even length tuple of on and off ink in points.

**kwargs : optional

Other keyword arguments are line collection properties. See LineCollection for a list of the valid properties.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4