Removing lines leaks memory

Thanks, John!

Calling ax.autoscale_view after ax.relim makes the script work.

Best regards,
Pearu