Skip to content

Commit

Permalink
requirements updated
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsonandrade committed Sep 22, 2022
1 parent 3c023ef commit 145c8e5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ipykernel
numpy
pyswarming
matplotlib
nbsphinx
sphinx_rtd_theme
26 changes: 14 additions & 12 deletions docs/source/example_notebooks/01_Getting_Started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"\n",
"# importing the swarming behaviors\n",
"import pyswarming.behaviors as ps\n",
"\n",
Expand Down Expand Up @@ -74,8 +76,8 @@
"anim = animation.FuncAnimation(fig, animate, init_func=init,\n",
" frames=480, interval=1, blit=True)\n",
"\n",
"anim\n",
"plt.show()"
"from IPython.display import HTML\n",
"HTML(anim.to_jshtml())"
]
},
{
Expand Down Expand Up @@ -163,8 +165,8 @@
"anim = animation.FuncAnimation(fig, animate, init_func=init,\n",
" frames=480, interval=1, blit=True)\n",
"\n",
"anim\n",
"plt.show()"
"from IPython.display import HTML\n",
"HTML(anim.to_jshtml())"
]
},
{
Expand Down Expand Up @@ -252,8 +254,8 @@
"anim = animation.FuncAnimation(fig, animate, init_func=init,\n",
" frames=480, interval=1, blit=True)\n",
"\n",
"anim\n",
"plt.show()"
"from IPython.display import HTML\n",
"HTML(anim.to_jshtml())"
]
},
{
Expand Down Expand Up @@ -341,8 +343,8 @@
"anim = animation.FuncAnimation(fig, animate, init_func=init,\n",
" frames=720, interval=1, blit=True)\n",
"\n",
"anim\n",
"plt.show()"
"from IPython.display import HTML\n",
"HTML(anim.to_jshtml())"
]
},
{
Expand Down Expand Up @@ -434,8 +436,8 @@
"anim = animation.FuncAnimation(fig, animate, init_func=init,\n",
" frames=480, interval=1, blit=True)\n",
"\n",
"anim\n",
"plt.show()"
"from IPython.display import HTML\n",
"HTML(anim.to_jshtml())"
]
},
{
Expand Down Expand Up @@ -528,8 +530,8 @@
"anim = animation.FuncAnimation(fig, animate, init_func=init,\n",
" frames=960, interval=1, blit=True)\n",
"\n",
"anim\n",
"plt.show()"
"from IPython.display import HTML\n",
"HTML(anim.to_jshtml())"
]
},
{
Expand Down

0 comments on commit 145c8e5

Please sign in to comment.