From: Maximilian Friedersdorff Date: Wed, 30 Jan 2019 22:20:06 +0000 (+0000) Subject: fix: Fix typo sow -> show X-Git-Url: https://git.friedersdorff.com/?p=max%2Fplotting_with_matplotlib.git;a=commitdiff_plain;h=f759f184623d38f7018212a55ca1ac82a7c1500d fix: Fix typo sow -> show --- diff --git a/slides.rst b/slides.rst index 97eca22..79c4685 100644 --- a/slides.rst +++ b/slides.rst @@ -115,7 +115,7 @@ Subplots Saving Plots ------------ -So far I've just displayed plots with ``plt.sow()``. You can actually save +So far I've just displayed plots with ``plt.show()``. You can actually save the plots from that interface manually, but when scripting, it's convenient to do so automatically: @@ -124,8 +124,7 @@ to do so automatically: >>> # Some plotting has previously occured >>> plt.savefig('eggs.pdf', dpi=300, transparent=False) -The output format is interpreted from the file extension. - +The output format is interpreted from the file extension. The keyword arguments are optional here. Other options exist. Error Bars