3 ms·
I find it useful to work with plots in Jupyter notebooks. Use the "%matplotlib notebook" cell magic to get interactive plots inline. Then you can use savefig w
by bonoboTP 8y ago
I find it useful to work with plots in Jupyter notebooks. Use the "%matplotlib notebook" cell magic to get interactive plots inline.
Then you can use savefig when it looks good. Then save the code you used into some file near the Latex sources.
- maksimum 8y agoI also use this approach. To standardize appearance I put appearance modifiers in `notebook_context/__init__.py`, and then in my second jupyter cell from notebook_context import * configure_plotting_for_publication() Example notebook_context: https://github.com/maksimt/empirical_privacy/blob/master/src/notebook_context/__init__.py https://github.com/maksimt/empirical_privacy/blob/master/src...