子图、轴和图形#

对齐标签和标题

Align labels and titles

以编程方式控制子图调整

Programmatically control subplot adjustment

坐标轴方框比例

Axes box aspect

坐标轴演示

Axes Demo

使用边距和粘性边缘控制视图限制

Controlling view limits using margins and sticky_edges

Axes 属性

Axes properties

坐标轴缩放效果

Axes zoom effect

绘制跨越一个轴的区域

Draw regions that span an Axes

等轴长宽比

Equal axis aspect ratio

轴标签位置

Axis label position

断开的轴

Broken axis

自定义图表子类

Custom Figure subclasses

使用约束布局调整轴的大小

Resize Axes with constrained layout

使用紧凑布局调整坐标轴大小

Resize Axes with tight layout

同一Axes上的不同刻度

Different scales on the same Axes

不同单位中的图形尺寸

Figure size in different units

图表标签:suptitle, supxlabel, supylabel

Figure labels: suptitle, supxlabel, supylabel

相邻子图

Adjacent subplots

地理投影

Geographic Projections

使用 subplots 和 GridSpec 组合两个子图

Combine two subplots using subplots and GridSpec

用于多列/行子图布局的网格规格

Gridspec for multi-column/row subplot layouts

嵌套的网格规格

Nested Gridspecs

倒置轴

Inverted axis

在 pyplot 中管理多个图形

Manage multiple figures in pyplot

次要轴

Secondary Axis

共享轴限制和视图

Share axis limits and views

共享轴

Shared axis

图子图

Figure subfigures

多个子图

Multiple subplots

子图间距和边距

Subplots spacings and margins

使用 plt.subplots 创建多个子图

Create multiple subplots using plt.subplots

不同尺度的图表

Plots with different scales

缩放区域插入轴

Zoom region inset Axes