in IJulia, clear plotting state on an error