Skip to content

Commit

Permalink
Run pre-commit on notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
namurphy committed Jul 16, 2024
1 parent 04088e4 commit bdf956b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
15 changes: 1 addition & 14 deletions notebooks/astropy-units-completed.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@
" !pip install plasmapy==2024.5.0\n",
"\n",
"import numpy as np\n",
"import astropy.units as u\n",
"from astropy import constants as const"
"import astropy.units as u"
]
},
{
Expand Down Expand Up @@ -93,16 +92,6 @@
"This notebook introduces [astropy.units] with an emphasis on the functionality needed to work with [plasmapy.particles] and [plasmapy.formulary]. We typically import this subpackage as `u`."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "8c20320a",
"metadata": {},
"outputs": [],
"source": [
"import astropy.units as u"
]
},
{
"cell_type": "markdown",
"id": "ad28288e",
Expand Down Expand Up @@ -246,8 +235,6 @@
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"\n",
"np.array([2.5, 3.2, 1.1]) * u.kg"
]
},
Expand Down
12 changes: 0 additions & 12 deletions notebooks/plasmapy-particles-formulary-completed.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@
" if 'plasmapy' not in sys.modules:\n",
" !pip install plasmapy==2024.5.0\n",
"\n",
"import numpy as np\n",
"import astropy.units as u\n",
"from astropy import constants as const\n",
"from plasmapy.particles import *\n",
"from plasmapy.formulary import *"
]
Expand All @@ -65,16 +63,6 @@
"PlasmaPy makes heavy use of [`astropy.units`], which is my favorite part of the scientific pythoniverse! We typically import this subpackage as `u`."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "8c20320a",
"metadata": {},
"outputs": [],
"source": [
"import astropy.units as u"
]
},
{
"cell_type": "markdown",
"id": "e9ccbb06",
Expand Down

0 comments on commit bdf956b

Please sign in to comment.