Skip to content

Instantly share code, notes, and snippets.

@infinite-Joy9l
Created December 14, 2017 08:14
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 infinite-Joy9l/b6aba4451e4f3ef35234094c0afdfa25 to your computer and use it in GitHub Desktop.
Save infinite-Joy9l/b6aba4451e4f3ef35234094c0afdfa25 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"%matplotlib inline\n",
"\n",
"import matplotlib.pyplot as plt"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"data": {
"application/json": {
"Software versions": [
{
"module": "Python",
"version": "3.6.2 64bit [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]"
},
{
"module": "IPython",
"version": "6.1.0"
},
{
"module": "OS",
"version": "Linux 4.11.0 kfd compute rocm rel 1.6 180 x86_64 with debian stretch sid"
},
{
"module": "scipy",
"version": "0.19.1"
},
{
"module": "numpy",
"version": "1.12.1"
},
{
"module": "Cython",
"version": "0.27.3"
},
{
"module": "matplotlib",
"version": "2.0.2"
},
{
"module": "version_information",
"version": "1.0.3"
}
]
},
"text/html": [
"<table><tr><th>Software</th><th>Version</th></tr><tr><td>Python</td><td>3.6.2 64bit [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]</td></tr><tr><td>IPython</td><td>6.1.0</td></tr><tr><td>OS</td><td>Linux 4.11.0 kfd compute rocm rel 1.6 180 x86_64 with debian stretch sid</td></tr><tr><td>scipy</td><td>0.19.1</td></tr><tr><td>numpy</td><td>1.12.1</td></tr><tr><td>Cython</td><td>0.27.3</td></tr><tr><td>matplotlib</td><td>2.0.2</td></tr><tr><td>version_information</td><td>1.0.3</td></tr><tr><td colspan='2'>Wed Nov 22 20:48:34 2017 IST</td></tr></table>"
],
"text/latex": [
"\\begin{tabular}{|l|l|}\\hline\n",
"{\\bf Software} & {\\bf Version} \\\\ \\hline\\hline\n",
"Python & 3.6.2 64bit [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] \\\\ \\hline\n",
"IPython & 6.1.0 \\\\ \\hline\n",
"OS & Linux 4.11.0 kfd compute rocm rel 1.6 180 x86\\_64 with debian stretch sid \\\\ \\hline\n",
"scipy & 0.19.1 \\\\ \\hline\n",
"numpy & 1.12.1 \\\\ \\hline\n",
"Cython & 0.27.3 \\\\ \\hline\n",
"matplotlib & 2.0.2 \\\\ \\hline\n",
"version_information & 1.0.3 \\\\ \\hline\n",
"\\hline \\multicolumn{2}{|l|}{Wed Nov 22 20:48:34 2017 IST} \\\\ \\hline\n",
"\\end{tabular}\n"
],
"text/plain": [
"Software versions\n",
"Python 3.6.2 64bit [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]\n",
"IPython 6.1.0\n",
"OS Linux 4.11.0 kfd compute rocm rel 1.6 180 x86_64 with debian stretch sid\n",
"scipy 0.19.1\n",
"numpy 1.12.1\n",
"Cython 0.27.3\n",
"matplotlib 2.0.2\n",
"version_information 1.0.3\n",
"Wed Nov 22 20:48:34 2017 IST"
]
},
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"%load_ext version_information\n",
"%version_information scipy, numpy, Cython, matplotlib, version_information"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python (venv)",
"language": "python",
"name": "venv"
},
"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.2"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment