Skip to content

Commit

Permalink
Fix flake8 errors in ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
cphyc committed Jun 7, 2021
1 parent 85208f0 commit 48127bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 2 additions & 3 deletions doc/source/analyzing/Particle_Trajectories.ipynb
Expand Up @@ -21,8 +21,7 @@
"import yt\n",
"from yt.config import ytcfg\n",
"path = ytcfg.get(\"yt\", \"test_data_dir\")\n",
"import matplotlib.pyplot as plt\n",
"from mpl_toolkits.mplot3d import Axes3D"
"import matplotlib.pyplot as plt"
]
},
{
Expand Down Expand Up @@ -388,4 +387,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}
3 changes: 1 addition & 2 deletions doc/source/visualizing/TransferFunctionHelper_Tutorial.ipynb
Expand Up @@ -21,7 +21,6 @@
"import numpy as np\n",
"from IPython.core.display import Image\n",
"from yt.visualization.volume_rendering.transfer_function_helper import TransferFunctionHelper\n",
"from yt.visualization.volume_rendering.render_source import VolumeSource\n",
"\n",
"def showme(im):\n",
" # screen out NaNs\n",
Expand Down Expand Up @@ -239,4 +238,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}
3 changes: 1 addition & 2 deletions doc/source/visualizing/Volume_Rendering_Tutorial.ipynb
Expand Up @@ -33,7 +33,6 @@
"outputs": [],
"source": [
"import yt\n",
"import numpy as np\n",
"from yt.visualization.volume_rendering.transfer_function_helper import TransferFunctionHelper\n",
"\n",
"ds = yt.load(\"IsolatedGalaxy/galaxy0030/galaxy0030\")\n",
Expand Down Expand Up @@ -381,4 +380,4 @@
},
"nbformat": 4,
"nbformat_minor": 1
}
}

0 comments on commit 48127bc

Please sign in to comment.