Open lazarusA opened 2 years ago
Can you test this once against #master
? I recently merged two sets of improvements for CairoMakie's speed, although they weren't so much for line plots. But it might have helped a bit
for png, on second call is slightly the same. However, for svg
it doesn't work [several minutes now and doesn't finish saving]...
(tmp) pkg> st
Status `~/Documents/tmp/Project.toml`
[13f3f980] CairoMakie v0.8.3 `https://github.com/JuliaPlots/Makie.jl.git:CairoMakie#master`
[ee78f7c6] Makie v0.17.3 `https://github.com/JuliaPlots/Makie.jl.git#master`
This could be caused by the way we draw multicolored lines in CairoMakie...it's somewhat inefficient but there's no good way to do nonlinear gradients for arbitrary lines. You could try rasterize=10
to the streamplot, which should remove the worst offender for the SVG.
Yep, pretty much. If there's a better way of doing a color gradient then I'm all ears :D (since this really messes the draw time up).
Still better than matplotlib where you have to use patches...
Probably not much to do here, due to the high line resolution.
Also, I just noticed that the latex formatting is broken :(
and for svg