Skip to content

Commit 17dfc2a

Browse files
authored
Tiny improvements for the line tyles gallery example (#1053)
1 parent 12875ce commit 17dfc2a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/gallery/lines/linestyles.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@
3838
"1p,lightblue,-.", # dash-dotted line
3939
"2p,blue,..-", # dot-dot-dashed line
4040
"2p,tomato,--.", # dash-dash-dotted line
41-
"2p,tomato,4_2:2p", # A pattern of 4-point-long line segment and 2-point-gap between segment
41+
# A pattern of 4-point-long line segment and 2-point-gap between segment,
42+
# with pattern offset by 2 points from the origin
43+
"2p,tomato,4_2:2p",
4244
]:
4345
y -= 1 # Move the current line down
4446
fig.plot(x=x, y=y, pen=linestyle)

0 commit comments

Comments
 (0)