I'd like to have this code organization
# 1st cell showing my intentions
plt.plot(t, f(t))
(NO OUTPUT)
and
# 2nd cell with boring details
plt.xlabel(...)
...
plt.show()
(the plot with all the now interesting details)
because I plan to use the notebook to produce slides and/or pdf using an extension that allows to hide the input cell only, so that my reader sees only what I want to show of my code — they can look at the notebook itself to see what's going on behind the scene…
I've tried plt.hold()
but it's not what I had in mind…