线条、条形和标记#

带有单独条形颜色的条形图

Bar chart with individual bar colors

带有标签的条形图

Bar chart with labels

堆叠柱状图

Stacked bar chart

带标签的分组条形图

Grouped bar chart with labels

水平条形图

Horizontal bar chart

断开的条形图

Broken Barh

CapStyle

CapStyle

绘制分类变量

Plotting categorical variables

绘制两个信号的一致性

Plotting the coherence of two signals

交叉谱密度 (CSD)

Cross spectral density (CSD)

带有误差带的曲线

Curve with error band

误差条限值选择

Errorbar limit selection

误差条子采样

Errorbar subsampling

事件集合演示

EventCollection Demo

事件图演示

Eventplot demo

填充多边形

Filled polygon

fill_between 带透明度

fill_between with transparency

填充两条线之间的区域

Fill the area between two lines

填充两条垂直线之间的区域

Fill the area between two vertical lines

带渐变的条形图

Bar chart with gradients

帽子图

Hat graph

离散分布作为水平条形图

Discrete distribution as horizontal bar chart

JoinStyle

JoinStyle

虚线样式配置

Dashed line style configuration

带有勾选路径效果的线条

Lines with a ticked patheffect

线条样式

Linestyles

标记参考

Marker reference

Markevery 演示

Markevery Demo

绘制掩码和NaN值

Plotting masked and NaN values

多色线条

Multicolored lines

将标记属性映射到多变量数据

Mapping marker properties to multivariate data

功率谱密度 (PSD)

Power spectral density (PSD)

散点图演示2

Scatter Demo2

带有直方图的散点图

Scatter plot with histograms

带有掩码值的散点图

Scatter plot with masked values

标记示例

Marker examples

带有图例的散点图

Scatter plot with a legend

线图

Line plot

使用 fill_between 填充由逻辑掩码定义的阴影区域

Shade regions defined by a logical mask using fill_between

频谱表示

Spectrum representations

堆叠图和流图

Stackplots and streamgraphs

楼梯演示

Stairs Demo

Stem plot

Stem plot

步骤演示

Step Demo

带有线条、日期和文本的时间线

Timeline with lines, dates, and text

hlines 和 vlines

hlines and vlines

交叉相关和自相关

Cross- and auto-correlation