Skip to content

Commit 7864e76

Browse files
authored
Merge pull request #23300 from skywateryang/main
Modify example of "Fig Axes Customize Simple"
2 parents e9eb36d + ce2500c commit 7864e76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/pyplots/fig_axes_customize_simple.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
for line in ax1.yaxis.get_ticklines():
3030
# line is a Line2D instance
31-
line.set_color('tab:green')
31+
line.set_markeredgecolor('tab:green')
3232
line.set_markersize(25)
3333
line.set_markeredgewidth(3)
3434

@@ -47,7 +47,7 @@
4747
# - `matplotlib.text.Text.set_fontsize`
4848
# - `matplotlib.text.Text.set_color`
4949
# - `matplotlib.lines.Line2D`
50-
# - `matplotlib.lines.Line2D.set_color`
50+
# - `matplotlib.lines.Line2D.set_markeredgecolor`
5151
# - `matplotlib.lines.Line2D.set_markersize`
5252
# - `matplotlib.lines.Line2D.set_markeredgewidth`
5353
# - `matplotlib.patches.Patch.set_facecolor`

0 commit comments

Comments
 (0)