Open klaff opened 1 year ago
Environment is CairoMakie v0.9.1 within Pluto v0.7.48 in Chrome under Windows 11.
BTW, I tried to make a more minimal MWE using a dozen or so points with one or two -Inf
s but could not replicate the issue so I left in the FFTW stuff.
Retrace lines are probably a Cairo thing, since -Inf in the y axis of Cairo is actually at the top. The projection code would probably be where one would look at for something like this.
The following code:
produces the desired result when executed as shown above (where the ydata is clamped to not go below
-1e37
, but give this result (in which the x scaling seems to depend upon y data) if thelines!(ax1, xdata, ydata)
is used, and gives this result (with weird retrace lines) iflines!(ax1, xdata, clamp.(ydata, -1e38, 1)
is used.