Jupyter Notebooks

Jdaviz is designed to be integrated into existing Jupyter notebooks! To do so, install Jdaviz in your notebook’s Python environment and add a new cell wherever you would like to use Jdaviz. For example:

# Import Specviz
from jdaviz import Specviz
# Instantiate an instance of Specviz
myviz = Specviz()
# Display Specviz
myviz.show()   #doctest: +SKIP

For more information on using Specviz in a notebook, see Using Specviz in a Jupyter Notebook. Similarly, you can open instances of Using Cubeviz in a Jupyter Notebook and Using Mosviz in a Jupyter Notebook.

Using Jdaviz in a Jupyter Notebook