File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2346,7 +2346,7 @@ from matplotlib import pyplot
2346
2346
pyplot.plot(< y_data> [, label=< str > ])
2347
2347
pyplot.plot(< x_data> , < y_data> )
2348
2348
pyplot.legend() # Adds a legend.
2349
- pyplot.savefig(< filename > ) # Saves the figure.
2349
+ pyplot.savefig(' <path> ' ) # Saves the figure.
2350
2350
pyplot.show() # Displays the figure.
2351
2351
pyplot.clf() # Clears the figure.
2352
2352
```
Original file line number Diff line number Diff line change 2034
2034
pyplot.plot(<y_data> [, label=<str>])
2035
2035
pyplot.plot(<x_data>, <y_data>)
2036
2036
pyplot.legend() < span class ="hljs-comment "> # Adds a legend.</ span >
2037
- pyplot.savefig(<filename >) < span class ="hljs-comment "> # Saves the figure.</ span >
2037
+ pyplot.savefig(< span class =" hljs-string " > ' <path >' </ span > ) < span class ="hljs-comment "> # Saves the figure.</ span >
2038
2038
pyplot.show() < span class ="hljs-comment "> # Displays the figure.</ span >
2039
2039
pyplot.clf() < span class ="hljs-comment "> # Clears the figure.</ span >
2040
2040
</ code > </ pre > </ div >
You can’t perform that action at this time.
0 commit comments