update cp2
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 114 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
@ -674,7 +674,7 @@ for label in ax1.xaxis.get_ticklabels():
|
|||
|
||||
for line in ax1.yaxis.get_ticklines():
|
||||
# 调用y轴刻度线条实例, 是一个Line2D实例
|
||||
line.set_color('green') # 颜色
|
||||
line.set_markeredgecolor('green') # 颜色
|
||||
line.set_markersize(25) # marker大小
|
||||
line.set_markeredgewidth(2)# marker粗细
|
||||
```
|
||||
|
|
|
@ -490,7 +490,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="cell_output docutils container">
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[<matplotlib.lines.Line2D object at 0x0000029FF51E0A90>, <matplotlib.lines.Line2D object at 0x0000029FF51E0E20>]
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[<matplotlib.lines.Line2D object at 0x0000017F69D2C0D0>, <matplotlib.lines.Line2D object at 0x0000017F69D2C460>]
|
||||
</pre></div>
|
||||
</div>
|
||||
<img alt="../_images/index_7_1.png" src="../_images/index_7_1.png" />
|
||||
|
@ -1007,7 +1007,7 @@ closed为True则指定多边形将起点和终点重合从而显式关闭多边
|
|||
|
||||
<span class="k">for</span> <span class="n">line</span> <span class="ow">in</span> <span class="n">ax1</span><span class="o">.</span><span class="n">yaxis</span><span class="o">.</span><span class="n">get_ticklines</span><span class="p">():</span>
|
||||
<span class="c1"># 调用y轴刻度线条实例, 是一个Line2D实例</span>
|
||||
<span class="n">line</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="s1">'green'</span><span class="p">)</span> <span class="c1"># 颜色</span>
|
||||
<span class="n">line</span><span class="o">.</span><span class="n">set_markeredgecolor</span><span class="p">(</span><span class="s1">'green'</span><span class="p">)</span> <span class="c1"># 颜色</span>
|
||||
<span class="n">line</span><span class="o">.</span><span class="n">set_markersize</span><span class="p">(</span><span class="mi">25</span><span class="p">)</span> <span class="c1"># marker大小</span>
|
||||
<span class="n">line</span><span class="o">.</span><span class="n">set_markeredgewidth</span><span class="p">(</span><span class="mi">2</span><span class="p">)</span><span class="c1"># marker粗细</span>
|
||||
</pre></div>
|
||||
|
|
|
@ -674,7 +674,7 @@ for label in ax1.xaxis.get_ticklabels():
|
|||
|
||||
for line in ax1.yaxis.get_ticklines():
|
||||
# 调用y轴刻度线条实例, 是一个Line2D实例
|
||||
line.set_color('green') # 颜色
|
||||
line.set_markeredgecolor('green') # 颜色
|
||||
line.set_markersize(25) # marker大小
|
||||
line.set_markeredgewidth(2)# marker粗细
|
||||
```
|
||||
|
|