-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Add style for xkcd #6157
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
Add style for xkcd #6157
Conversation
Added a style file for xkcd Fixes #5992
|
||
##PATH | ||
|
||
path.sketch : (scale, length, randomness) |
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.
Shouldn't these be numbers, rather than the placeholders "scale, length, randomness"?
This is missing the patheffect that puts a white border behind all lines. |
Ping @souravsingh : are you still interested working on this style sheet? With @mdboom's remarks, I guess one should get something that starts to resemble xkcd plots :). |
@afvincent I am interested in working on the style sheet. I am confused about the parameter for patheffect |
The patheffect part is probably going to be the hardest part at the moment, On Mon, Jul 18, 2016 at 9:22 AM, Sourav Singh notifications@github.com
|
@WeatherGod You're right: the patheffect part might be a bit more difficult to setup than I expected :/. I was fooled by the example of |
@souravsingh Apparently, there is an official xkcd font, so it could be nice to add it as the default choice (another PR is open to add it to |
@afvincent Is the problem fixed? |
Wohh I totally forgot this one : apologies @souravsingh! The xkcd font seems to have been added to the list so this part should be OK. Unfortunately, I cannot see an easy solution to the |
@afvincent Well, we control that string, and |
If we parsed patheffect = getattr(patheffects.modules[__name__], str)
rc['path.effect'] = patheffect(**kwargs) would that be safe enough? ping @anntzer |
Please no more parsing craziness. |
Is there a resolution for the PR? |
I hope the resolution will be #9528. |
I'll close in favour of #14943 |
Added a style file for xkcd
Fixes #5992