Skip to content

Commit a7fea1a

Browse files
committed
add blank figure admonition before blank figure cell
1 parent da58c47 commit a7fea1a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

notebooks/animation.ipynb

+5-3
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,11 @@
137137
"metadata": {},
138138
"source": [
139139
"### Creating the figure\n",
140-
"Now, we need to set up the figure we'll be plotting our animation on."
140+
"Now, we need to set up the figure we'll be plotting our animation on.\n",
141+
"\n",
142+
":::{note}\n",
143+
"Running the next cell will produce a blank figure in the jupyter notebook. This is expected since we've only created a blank figure to plot on, but haven't actually plotted anything yet.\n",
144+
":::"
141145
]
142146
},
143147
{
@@ -167,8 +171,6 @@
167171
"\n",
168172
"Finally, we turn off the axes using `ax.axis(\"off\")`. This is because we don't want to see axes on our final image plot.\n",
169173
"\n",
170-
"Running the above cell should have produced a blank figure in the jupyter notebook. This is expected since we've only created a blank figure to plot on, but haven't actually plotted anything yet.\n",
171-
"\n",
172174
":::{tip}\n",
173175
"Customizing the figure size, dpi, and axes is not necessary for creating an artist animation, but it will make our end result look nicer.\n",
174176
":::"

0 commit comments

Comments
 (0)