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
23462346pyplot.plot(< y_data> [, label=< str > ])
23472347pyplot.plot(< x_data> , < y_data> )
23482348pyplot.legend() # Adds a legend.
2349- pyplot.savefig(< filename > ) # Saves the figure.
2349+ pyplot.savefig(' <path> ' ) # Saves the figure.
23502350pyplot.show() # Displays the figure.
23512351pyplot.clf() # Clears the figure.
23522352```
Original file line number Diff line number Diff line change 20342034pyplot.plot(<y_data> [, label=<str>])
20352035pyplot.plot(<x_data>, <y_data>)
20362036pyplot.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 >
20382038pyplot.show() < span class ="hljs-comment "> # Displays the figure.</ span >
20392039pyplot.clf() < span class ="hljs-comment "> # Clears the figure.</ span >
20402040</ code > </ pre > </ div >
You can’t perform that action at this time.
0 commit comments