Closed lukas-weber closed 1 month ago
I did some digging. First I thought the problem was downstream with the Measurements.jl recipe, but I do not know what could be wrong with it.
Instead, looking at how the GroupBy
recipe gets applied in Plots.jl, I think the issue is that in this case, it will attach the idxfilter
attribute to the series rather than actually filtering the data. Later, there is a call to
# RecipesPipeline/src/group.jl
function filter_data!(plotattributes::AKW, idxfilter)
for s in (:x, :y, :z)
plotattributes[s] = filter_data(get(plotattributes, s, nothing), idxfilter)
end
Which will filter the data but not :xerror
, :yerror
, or :zerror
, leading to the result from the minimal example above. I am pretty sure adding them to filter_data!
would fix it and would have made a PR, however I noticed you are in the middle of restructuring for Plots v2. Should this go to the v2 branch or master?
It should go to.v2 thanks
Details
Quite scary. It seems like in the group version, the ungrouped list of uncertainties is accessed using the intra-group index.
Backends
This bug occurs on ( insert
x
below )Versions
Plots.jl version: v1.40.3 Backend version (
]st -m <backend(s)>
): GR v0.73.3, UnicodePlots v3.6.4 Output ofversioninfo()
: