Closed nkeim closed 9 years ago
Sigh, I really wish gh would play nice with notebooks.
I think I mentioned to @danielballan awhile back that IPython can automatically save a .py
file, containing all Markdown and code, alongside the notebook files. Obviously this helps greatly with comparing versions. My own setup does this, but I don't track the .py
files. Should I start? Would we want to make that an (un)official policy?
Along the same lines, we could write a commit hook that nbconvert
s the notebooks into a more diff-able format. Not really sure how practical that is.
Of course, it's possible that gh support for the notebook format is right around the corner.
I don't think it is worth changing your workflow, I am just whining.
Yeah, I think we should keep doing what we're doing. This workflow has its rough edges, sure, but keeping the full notebook under version control at least makes it possible for others to view the notebook without running it locally.
...but we should all (myself included) keep the habit of including links until gh starts diong it for us: http://nbviewer.ipython.org/github/nkeim/trackpy-examples/blob/prediction-figures/notebooks/prediction.ipynb
Addresses https://github.com/nkeim/trackpy-paper/pull/4#issuecomment-66520974
We now set point style by frame, instead of particle ID. This also makes use of 'trackpy.plot_traj()', which seems like good practice. The plots still aren't perfect, but they are less confusing.