Skip to content

Instantly share code, notes, and snippets.

@asford
Created January 30, 2018 21:49
Show Gist options
  • Save asford/6642bf7f9f36255ed9a3a303b5b4d046 to your computer and use it in GitHub Desktop.
Save asford/6642bf7f9f36255ed9a3a303b5b4d046 to your computer and use it in GitHub Desktop.
Untitled3.ipynb
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "%%html\n<script src=\"http://3Dmol.csb.pitt.edu/build/3Dmol-min.js\"></script> </head> \n<div style=\"height: 600px; width: 600px; position: relative;\" class='viewer_3Dmoljs' data-pdb='2POR' data-backgroundcolor='0xffffff' data-style='stick'></div>",
"execution_count": 9,
"outputs": [
{
"output_type": "display_data",
"data": {
"text/html": "<script src=\"http://3Dmol.csb.pitt.edu/build/3Dmol-min.js\"></script> </head> \n<div style=\"height: 600px; width: 600px; position: relative;\" class='viewer_3Dmoljs' data-pdb='2POR' data-backgroundcolor='0xffffff' data-style='stick'></div>",
"text/plain": "<IPython.core.display.HTML object>"
},
"metadata": {}
}
]
}
],
"metadata": {
"kernelspec": {
"name": "conda-env-dev-py",
"display_name": "Python [conda env:dev]",
"language": "python"
},
"toc": {
"nav_menu": {},
"number_sections": true,
"sideBar": true,
"skip_h1_title": false,
"toc_cell": false,
"toc_position": {},
"toc_section_display": "block",
"toc_window_display": false
},
"language_info": {
"pygments_lexer": "ipython3",
"nbconvert_exporter": "python",
"mimetype": "text/x-python",
"file_extension": ".py",
"codemirror_mode": {
"version": 3,
"name": "ipython"
},
"version": "3.5.4",
"name": "python"
},
"gist": {
"id": "",
"data": {
"description": "Untitled3.ipynb",
"public": true
}
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment