{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": false }, "outputs": [], "source": [ "from IPython.display import display\n", "from IPython.html.widgets import Textarea\n", "from widget_ivy_concept_graph import IvyConceptGraphWidget\n", "from concept_interactive_session import ConceptInteractiveSession\n", "from client_server_example import cd, state_sk" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": false }, "outputs": [], "source": [ "w = IvyConceptGraphWidget()\n", "w.label_box = Textarea()\n", "session = ConceptInteractiveSession(cd, state_sk, [], w)\n", "display(w)\n", "display(w.label_box)" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": true }, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 2", "language": "python", "name": "python2" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 2 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython2", "version": "2.7.3" } }, "nbformat": 4, "nbformat_minor": 0 }