is that how he does it? I wouldn't be surprised.
I would be. It's much quicker to draw this than to write code for it.
TIL you could make xkcd-like plots with matplotlib
11–18 of 18 posts
Re: TIL you could make xkcd-like plots with matplotlib
#12Re: TIL you could make xkcd-like plots with matplotlib
#13While I'm not a fan of the plot style, I use the xkcd colors from matplotlib.colors.XKCD_COLORS all the time. 954 colors named from the xkcd color survey [0]. [0] https://xkcd.com/color/rgb/
Re: TIL you could make xkcd-like plots with matplotlib
#14Re: TIL you could make xkcd-like plots with matplotlib
#15Related: Xkcd-Style Plots in Matplotlib https://jakevdp.github.io/blog/2012/10/07/xkcd-style-plots-i... (discussion: https://news.ycombinator.com/item?id=19293129 ) XKCD Plots in Matplotlib: Going the Whole Way https://jakevdp.github.io/blog/2013/07/10/XKCD-plots-in-matp... ( https://news.ycombinator.com/item?id=11642344 )
Re: TIL you could make xkcd-like plots with matplotlib
#16Re: TIL you could make xkcd-like plots with matplotlib
#17Fun plot style, but the "noise" is too regular to really look right. Seems like like it basically just superimposes a sine wave onto all the straight lines. Compare the axes of the plots, or the vertical lines on the bar chart which have a pretty distinct periodicity, to the original: https://xkcd.com/373/
They probably did add the randomness (haven't checked nor confirmed), but it could be the higher resolution that makes it look really clear.
Re: TIL you could make xkcd-like plots with matplotlib
#18Fun plot style, but the "noise" is too regular to really look right. Seems like like it basically just superimposes a sine wave onto all the straight lines. Compare the axes of the plots, or the vertical lines on the bar chart which have a pretty distinct periodicity, to the original: https://xkcd.com/373/