Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8d187df

Browse files
authored
Merge pull request#13476 from chrjen/patch-1
Add font to pyplot.xkcd()
2 parents2ddb238 +069a056 commit8d187df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ def xkcd(scale=1, length=100, randomness=2):
383383

384384
frommatplotlibimportpatheffects
385385
returnrc_context({
386-
'font.family': ['xkcd','Humor Sans','Comic Sans MS'],
386+
'font.family': ['xkcd','xkcd Script','Humor Sans','Comic Sans MS'],
387387
'font.size':14.0,
388388
'path.sketch': (scale,length,randomness),
389389
'path.effects': [patheffects.withStroke(linewidth=4,foreground="w")],

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp