Skip to content

Instantly share code, notes, and snippets.

Created December 10, 2016 08:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2c85c265cbee3c4485cfe39239593a11 to your computer and use it in GitHub Desktop.
Save anonymous/2c85c265cbee3c4485cfe39239593a11 to your computer and use it in GitHub Desktop.
jupyter-python-mayavi-test-plot3d
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"metadata": {
"trusted": true,
"collapsed": false
},
"cell_type": "code",
"source": "from mayavi import mlab\nmlab.init_notebook()",
"execution_count": 1,
"outputs": [
{
"output_type": "stream",
"text": "Notebook initialized with x3d backend.\n",
"name": "stdout"
}
]
},
{
"metadata": {
"trusted": true,
"collapsed": false
},
"cell_type": "code",
"source": "s=mlab.test_plot3d()\ns",
"execution_count": 2,
"outputs": [
{
"output_type": "execute_result",
"data": {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment