soft-matter / trackpy-examples

sample images, examples, and speed tests for trackpy
Other
21 stars 42 forks source link

DOC: Update 3d tutorial #26

Closed caspervdw closed 8 years ago

caspervdw commented 8 years ago

I updated this notebook with Jupyter. Check it out on nbviewer: http://nbviewer.ipython.org/github/caspervdw/trackpy-examples/blob/tutorial-3d-update/notebooks/tracking-3d.ipynb

tacaswell commented 8 years ago

Probably also want mpl.rc('image', interpolation='none').

Can you try with %matplotlib notebook?

tacaswell commented 8 years ago

To make the histograms at the bottom do

plt.step(bins, hist,  label='range = {} microns'.format(search_range), where='post')
caspervdw commented 8 years ago

@tacaswell Thanks for reviewing. The notebook backend of mpl breaks annotate3d. This is an issue and I have to look into that. The interpolation and cmap are covered inside the annotate functions, so these rcs are not necessary. I fixed the histogram.