A better Y scale of the plot: fixes #8890 and #8945
Restore commit 32f9fc1: Uncheck toolbar button when closing plugin (#6679)