Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0be71e4

Browse files
committed
make capitalization of font name consistent
1 parent ab3db98 commit 0be71e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/linestyles.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ def split(n_segment):
3232
else: text = '%s' % str(style)
3333
text = text.replace(' ','')
3434
ax.text((x0+x1)/2, y-0.2, text,
35-
size=8, ha="center", va="top", family="Source code pro")
36-
ax.text(X0[0]-0.25, y+0.2, "linestyle or ls", family = "Source code pro",
35+
size=8, ha="center", va="top", family="Source Code Pro")
36+
ax.text(X0[0]-0.25, y+0.2, "linestyle or ls", family = "Source Code Pro",
3737
size=14, ha="left", va="baseline")
3838
y -= 1
3939

@@ -46,9 +46,9 @@ def split(n_segment):
4646
linewidth=7, linestyle="--", alpha=.25)
4747
ax.plot([x0,x1],[y,y], color="C1", linewidth=7,
4848
linestyle="--", dash_capstyle=style)
49-
ax.text((x0+x1)/2, y-0.2, '"%s"' % style, family = "Source code pro",
49+
ax.text((x0+x1)/2, y-0.2, '"%s"' % style, family = "Source Code Pro",
5050
size=10, ha="center", va="top")
51-
ax.text(X0[0]-0.25, y+0.2, "capstyle or dash_capstyle", family = "Source code pro",
51+
ax.text(X0[0]-0.25, y+0.2, "capstyle or dash_capstyle", family = "Source Code Pro",
5252
size=14, ha="left", va="baseline")
5353

5454

0 commit comments

Comments
 (0)