Clear memory after using plot!(...)

Yes, VS Code’s plot pane has a “trash” icon that you can use to delete the current plot; and moreover there is an option to delete them all at once (you have to focus on the plot pane to see the icons and the “dots” menu):