A RetroSearch Logo

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

Search Query:

Showing content from https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.vlines.html below:

matplotlib.pyplot.vlines — Matplotlib 3.10.3 documentation

matplotlib.pyplot.vlines#
matplotlib.pyplot.vlines(x, ymin, ymax, colors=None, linestyles='solid', *, label='', data=None, **kwargs)[source]#

Plot vertical lines at each x from ymin to ymax.

Parameters:
xfloat or array-like

x-indexes where to plot the lines.

ymin, ymaxfloat or array-like

Respective beginning and end of each line. If scalars are provided, all lines will have the same length.

colorscolor or list of color, default: rcParams["lines.color"] (default: 'C0')
linestyles{'solid', 'dashed', 'dashdot', 'dotted'}, default: 'solid'
labelstr, default: ''
Returns:
LineCollection
Other Parameters:
dataindexable object, optional

If given, the following parameters also accept a string s, which is interpreted as data[s] if s is a key in data:

x, ymin, ymax, colors

**kwargsLineCollection properties.

See also

hlines

horizontal lines

axvline

vertical line across the Axes

Notes

Examples using matplotlib.pyplot.vlines#

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