Lines, bars and markers#

Infinite lines

Infinite lines

Bar chart with individual bar colors

Bar chart with individual bar colors

Bar chart with labels

Bar chart with labels

Stacked bar chart

Stacked bar chart

Grouped bar chart with labels

Grouped bar chart with labels

Horizontal bar chart

Horizontal bar chart

Broken horizontal bars

Broken horizontal bars

CapStyle

CapStyle

Plotting categorical variables

Plotting categorical variables

Plotting the coherence of two signals

Plotting the coherence of two signals

Cross spectral density (CSD)

Cross spectral density (CSD)

Curve with error band

Curve with error band

Errorbar limit selection

Errorbar limit selection

Errorbar subsampling

Errorbar subsampling

EventCollection Demo

EventCollection Demo

Eventplot demo

Eventplot demo

Filled polygon

Filled polygon

fill_between with transparency

fill_between with transparency

Fill the area between two lines

Fill the area between two lines

Fill the area between two vertical lines

Fill the area between two vertical lines

Bar chart with gradients

Bar chart with gradients

Hat graph

Hat graph

Discrete distribution as horizontal bar chart

Discrete distribution as horizontal bar chart

JoinStyle

JoinStyle

Dashed line style configuration

Dashed line style configuration

Lines with a ticked patheffect

Lines with a ticked patheffect

Linestyles

Linestyles

Marker reference

Marker reference

Markevery Demo

Markevery Demo

Plotting masked and NaN values

Plotting masked and NaN values

Multicolored lines

Multicolored lines

Mapping marker properties to multivariate data

Mapping marker properties to multivariate data

Power spectral density (PSD)

Power spectral density (PSD)

Scatter Demo2

Scatter Demo2

Scatter plot with histograms

Scatter plot with histograms

Scatter plot with masked values

Scatter plot with masked values

Marker examples

Marker examples

Scatter plot with a legend

Scatter plot with a legend

Line plot

Line plot

Shade regions defined by a logical mask using fill_between

Shade regions defined by a logical mask using fill_between

Spectrum representations

Spectrum representations

Stackplots and streamgraphs

Stackplots and streamgraphs

Stairs Demo

Stairs Demo

Stem plot

Stem plot

Step Demo

Step Demo

Timeline with lines, dates, and text

Timeline with lines, dates, and text

hlines and vlines

hlines and vlines

Cross- and auto-correlation

Cross- and auto-correlation