BCDA-APS / use_bluesky

Tools to help APS use the Bluesky Framework (https://blueskyproject.io/)
8 stars 3 forks source link

add image view to AD lesson #31

Closed prjemian closed 4 years ago

prjemian commented 6 years ago

needs setup for jupyter notebooks

prjemian commented 6 years ago

from http://nsls-ii.github.io/bluesky/callbacks.html#aside-making-plots-update-live, setup is

%matplotlib notebook
from bluesky.utils import install_nb_kicker
install_nb_kicker()
prjemian commented 6 years ago

need matplotlib code to display image

prjemian commented 6 years ago

? matplotlib.axes.Axes.imshow()

prjemian commented 6 years ago

https://matplotlib.org/users/image_tutorial.html

prjemian commented 6 years ago

https://stackoverflow.com/a/35287898/1046449