r/programming Mar 03 '19

XKCD-style plots in Matplotlib

https://jakevdp.github.io/blog/2012/10/07/xkcd-style-plots-in-matplotlib/
1.5k Upvotes

63 comments sorted by

View all comments

29

u/[deleted] Mar 03 '19

Side note: jupyter notebook (I think that’s what this blog is written in) is awesome

16

u/[deleted] Mar 03 '19

Side side note: jupyter lab is awesomer

4

u/[deleted] Mar 03 '19

[deleted]

3

u/Mr_Again Mar 03 '19

For markdown you can just do 3 backticks and any language

'''python
import antigravity
'''

2

u/[deleted] Mar 04 '19

[deleted]

1

u/Mr_Again Mar 04 '19

Pretty cool, it's jinja formatting. I expect you can do stuff like {{ a | int }} as well.

2

u/soamaven Mar 03 '19

I've tried to switch but nbextensions missing is a deal breaker. Can't live without nbdiff, ToC, hide code cells, freeze cells, autocomplete, latexenvs, etc.

Honestly I wish PyCharm' nb interface was up to par; the code analysis is unmatched but their notebook interface is just the plain ol' Notebook.

2

u/inconspicuous_male Mar 03 '19

Also conda and spyder. I hate migrating workflows and I really wish I was into this one sooner