Add xkcd font as one of the options#6811
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. |
lib/matplotlib/rcsetup.py
Outdated
| 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.
This looks wrong, are there missing '' here?
There was a problem hiding this comment.
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.