Created
January 29, 2015 16:39
-
-
Save cgestes/e029c475b08bdfe43f6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
":0: FutureWarning: IPython widgets are experimental and may change in the future.\n", | |
"WARNING: \"FloatSliderWidget\" is deprecated, please use \"FloatSlider\" instead.\n" | |
] | |
} | |
], | |
"source": [ | |
"from IPython.html import widgets\n", | |
"from IPython.display import clear_output, display, HTML\n", | |
"mywidget = widgets.FloatSliderWidget()\n", | |
"#display(mywidget)\n", | |
"pop = widgets.Dock([mywidget])\n", | |
"display(pop)\n", | |
"display(mywidget)" | |
] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"display_name": "Python 2", | |
"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.9" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment