Skip to content

Commit b98d6f5

Browse files
committed
update.
1 parent b4a5df0 commit b98d6f5

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

docs/tutorials/intermediate/color_cycle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 用cycler定型
1+
# 使用循环器设置样式
22

33
演示自定义属性循环设置,以控制多线图的颜色和其他样式属性。
44

docs/tutorials/intermediate/gridspec.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ f8_ax3 = fig8.add_subplot(gs1[-1, -1])
142142

143143
这类似于[subplots_adjust()](https://matplotlib.org/api/_as_gen/matplotlib.pyplot.subplots_adjust.html#matplotlib.pyplot.subplots_adjust),但它只影响从给定GridSpec创建的子图。
144144

145-
This is similar to [subplots_adjust()](https://matplotlib.org/api/_as_gen/matplotlib.pyplot.subplots_adjust.html#matplotlib.pyplot.subplots_adjust), but it only affects the subplots that are created from the given GridSpec.
145+
这类似于[subplots_adjust()](https://matplotlib.org/api/_as_gen/matplotlib.pyplot.subplots_adjust.html#matplotlib.pyplot.subplots_adjust),但它只影响从给定的GridSpec创建的子图。
146146

147-
For example, compare the left and right sides of this figure:
147+
例如,比较这个图像的左边和右侧:
148148

149149
```python
150150
fig9 = plt.figure(constrained_layout=False)
@@ -163,11 +163,11 @@ f9_ax6 = fig9.add_subplot(gs2[-1, -1])
163163

164164
![用cycler定型示例9](/static/images/tutorials/sphx_glr_gridspec_009.png)
165165

166-
## GridSpec using SubplotSpec
166+
## 使用SubplotSpec的GridSpec
167167

168-
You can create GridSpec from the SubplotSpec, in which case its layout parameters are set to that of the location of the given SubplotSpec.
168+
您可以从SubplotSpec创建GridSpec,在这种情况下,它的布局参数设置为给定SubplotSpec的位置。
169169

170-
Note this is also available from the more verbose gridspec.GridSpecFromSubplotSpec.
170+
注意,这也可以从更详细的gridspec.GridspecFromSubplotSpec获得。
171171

172172
```python
173173
fig10 = plt.figure(constrained_layout=True)
@@ -184,9 +184,9 @@ for a in range(2):
184184

185185
![用cycler定型示例10](/static/images/tutorials/sphx_glr_gridspec_010.png)
186186

187-
## A Complex Nested GridSpec using SubplotSpec
187+
## 基于SubplotSpec的复杂嵌套GridSpec
188188

189-
Here's a more sophisticated example of nested GridSpec where we put a box around each cell of the outer 4x4 grid, by hiding appropriate spines in each of the inner 3x3 grids.
189+
这是一个更复杂的嵌套GridSpec示例,我们在外部4x4网格的每个单元格周围放置一个框,方法是在每个内部3x3网格中隐藏适当的数据区域边界。
190190

191191
```python
192192
import numpy as np
@@ -234,7 +234,7 @@ plt.show()
234234

235235
## References
236236

237-
The usage of the following functions and methods is shown in this example:
237+
此示例中显示了以下函数和方法的用法:
238238

239239
```python
240240
matplotlib.pyplot.subplots
6.14 KB
Loading
9.82 KB
Loading
7.15 KB
Loading

0 commit comments

Comments
 (0)