From 3b413d529d12f08510084e7badc2db34f3d0aa91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Fri, 13 Mar 2020 02:18:03 +0100 Subject: [PATCH] Plot --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 04dcebe..447aee4 100644 --- a/README.md +++ b/README.md @@ -2346,7 +2346,7 @@ from matplotlib import pyplot pyplot.plot( [, label=]) pyplot.plot(, ) pyplot.legend() # Adds a legend. -pyplot.savefig() # Saves the figure. +pyplot.savefig('') # Saves the figure. pyplot.show() # Displays the figure. pyplot.clf() # Clears the figure. ``` diff --git a/index.html b/index.html index 35428e5..a589151 100644 --- a/index.html +++ b/index.html @@ -2034,7 +2034,7 @@ curses.wrapper(main) pyplot.plot(<y_data> [, label=<str>]) pyplot.plot(<x_data>, <y_data>) pyplot.legend() # Adds a legend. -pyplot.savefig(<filename>) # Saves the figure. +pyplot.savefig('<path>') # Saves the figure. pyplot.show() # Displays the figure. pyplot.clf() # Clears the figure.