diff --git a/docs/io/visualization/abundance_widget.ipynb b/docs/io/visualization/abundance_widget.ipynb new file mode 100644 index 00000000000..0ca42f72ed7 --- /dev/null +++ b/docs/io/visualization/abundance_widget.ipynb @@ -0,0 +1,55 @@ +{ + "metadata": { + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.7.10" + }, + "orig_nbformat": 4, + "kernelspec": { + "name": "python3", + "display_name": "Python 3.7.10 64-bit ('tardis': conda)" + }, + "interpreter": { + "hash": "42180fb7a26743e791b9c1155ac51f7e87399be241c0afbd4c0781c11826afd9" + } + }, + "nbformat": 4, + "nbformat_minor": 2, + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from tardis.visualization import CustomAbundanceWidget" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "widget = CustomAbundanceWidget.from_yml('tardis_example.yml')" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "widget.display()" + ] + } + ] +} \ No newline at end of file diff --git a/docs/io/visualization/index.rst b/docs/io/visualization/index.rst index 1a7cfecae84..f8a51c4f16d 100644 --- a/docs/io/visualization/index.rst +++ b/docs/io/visualization/index.rst @@ -14,6 +14,7 @@ diagnostic visualizations. sdec_plot convergence_plot + abundance_widget TARDIS Widgets (Graphical User Interfaces)