JupyterDays Boston recap
Jupyter Newsletter 2 • March 30
| #!/usr/bin/env python | |
| # Note, updated version of | |
| # https://github.com/ipython/ipython-in-depth/blob/master/tools/nbmerge.py | |
| """ | |
| usage: | |
| python nbmerge.py A.ipynb B.ipynb C.ipynb > merged.ipynb | |
| """ | |
| import io |
| %matplotlib inline | |
| import matplotlib.pyplot as plt | |
| from matplotlib import rc | |
| # To use unicode, turn off latex | |
| #rc('text', usetex=True) | |
| import math | |
| import numpy as np | |
| import scipy as sp |
| #!/usr/bin/env python | |
| """Check all figure links in an IPython notebook and try to copy missing ones. | |
| Note: this quick script is adapted to a fairly specific pattern of | |
| mine. You should simply use it as a template and starting point for | |
| your own functionality. | |
| I keep a single large directory full of figures I reuse on all my | |
| talks, and I normally just symlink it from a new talk directory. But | |
| this makes it harder to publish the talk sources in a self-contained |