-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Add xkcd font as one of the options #6811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The official xkcd font https://github.com/ipython/xkcd-font was missing from the list of what is looked for when the user selects xkcd mode. Since it is the "official" font, it has been added to the top of the list.
Does this correctly use the font if it is installed? |
This should probably also be added to https://github.com/matplotlib/matplotlib/blob/master/matplotlibrc.template#L209 and rcsetup https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/rcsetup.py#L1002 |
I installed the font in my |
Yes please. |
@@ -1000,7 +1000,7 @@ def validate_animation_writer_path(p): | |||
'Sand', 'Script MT', 'Felipa', 'cursive'], | |||
validate_stringlist], | |||
'font.fantasy': [['Comic Sans MS', 'Chicago', 'Charcoal', 'Impact' | |||
'Western', 'Humor Sans', 'fantasy'], | |||
'Western', 'Humor Sans', 'fantasy, xkcd'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks wrong, are there missing ''
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hopefully build servers pick that one up.
ENH: Add xkcd font as one of the options in xkcd style
Backported to 2.x as 8751f9b Thanks @peterfpeterson |
Hmm, isn't |
it is very possible I screwed up here. |
cf. last comments on matplotlib#6811.
The official xkcd font https://github.com/ipython/xkcd-font
was missing from the list of what is looked for when the
user selects xkcd mode. Since it is the "official" font, it
has been added to the top of the list.