Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3b413d5

Browse files
committed
Plot
1 parent d360676 commit 3b413d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2346,7 +2346,7 @@ from matplotlib import pyplot
23462346
pyplot.plot(<y_data> [, label=<str>])
23472347
pyplot.plot(<x_data>, <y_data>)
23482348
pyplot.legend() # Adds a legend.
2349-
pyplot.savefig(<filename>) # Saves the figure.
2349+
pyplot.savefig('<path>') # Saves the figure.
23502350
pyplot.show() # Displays the figure.
23512351
pyplot.clf() # Clears the figure.
23522352
```

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2034,7 +2034,7 @@
20342034
pyplot.plot(&lt;y_data&gt; [, label=&lt;str&gt;])
20352035
pyplot.plot(&lt;x_data&gt;, &lt;y_data&gt;)
20362036
pyplot.legend() <span class="hljs-comment"># Adds a legend.</span>
2037-
pyplot.savefig(&lt;filename&gt;) <span class="hljs-comment"># Saves the figure.</span>
2037+
pyplot.savefig(<span class="hljs-string">'&lt;path&gt;'</span>) <span class="hljs-comment"># Saves the figure.</span>
20382038
pyplot.show() <span class="hljs-comment"># Displays the figure.</span>
20392039
pyplot.clf() <span class="hljs-comment"># Clears the figure.</span>
20402040
</code></pre></div>

0 commit comments

Comments
 (0)