Figure editor fixes need testing


I found an issue where the figure editor (the checkbox icon in the toolbar) incorrectly captures the color properties from the existing curves in the plot:

So I put together a pull request that fixes it:

Could we get someone (or someones?) to give it a whirl, make sure everything works as expected and that nothing obvious has broken?