Zooming in on a part of a plot with a large range in y-values while using the linestyle "--" is very slow. The following minimal working example hangs at the plt.show() line. import numpy as np import ...
if you now zoom out in "pan" mode eventually you run into error messages of the kind ValueError: Axis limits cannot be NaN or Inf Traceback (most recent call last ...