{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# You can call ipython_IDV without its widget Control Panel\n", "### by setting an environment variable" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "import os\n", "os.environ['drilsdown.showui'] = \"False\"\n", "\n", "%reload_ext ipython_IDV" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Then, if you want the Control Panel interface later, just call it" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "b7b4ab15f842405ebf2c7f79b0a136bc", "version_major": 2, "version_minor": 0 }, "text/plain": [ "VBox(children=(HTML(value='

ipython_IDV Control Panel

'), HBox(children=(HTML(value='Resources:'…" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "%make_ui" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "anaconda-cloud": {}, "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "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.6.5" }, "widgets": { "state": { "b40349adc76f4189bf68b4960c65a4c8": { "views": [ { "cell_index": 1 } ] } }, "version": "1.2.0" } }, "nbformat": 4, "nbformat_minor": 2 }