We need to be able to turn off plt.show() when scriptifying this plot to create figures for publication (rather than outputting to a notebook). The easiest is not to call show() when a plot axis has already been specified, which is what we do when creating pdfs for publication.
We need to be able to turn off
plt.show()
when scriptifying this plot to create figures for publication (rather than outputting to a notebook). The easiest is not to callshow()
when a plot axis has already been specified, which is what we do when creating pdfs for publication.