Open dermesser opened 1 year ago
Can confirm, arrows indeed are botched in logscale, both semi and full.
gr_drawarrow
is called through GR.jl, so it's a bug for GR framework. Looks like arrows are drawn assuming linear scale https://github.com/sciapp/gr/blob/eff7161c08df40e298cb16ac429bbaeae13cb3b1/lib/gr/gr.c#L10865.Can't test other backends, have trouble with their precompilation.
Details
Arrowheads (e.g. created with
plot(...; arrow = arrow(:closed))
) are butchered when using a semi-log scale, using GR.This is correct (lin-lin scale):
This is wrong (lin-log scale):
Backends
This bug occurs on ( insert
x
below )(at least gr)
Versions
Plots.jl version: [91a5bcdd] Plots v1.38.8 Backend version (
]st -m <backend(s)>
): [28b8d3ca] GR v0.71.8 Output ofversioninfo()
: