Attribute cycling regression in 0.24
regression
Noticed when trying to update to new Makie 0.24 – attribute cycling stopped working with plotspecs in this version.
MWE:
```julia
using CairoMakie
struct MyS end
function Makie.convert_arguments(ct::Type{<:AbstractPlot}, ::MyS)
[
Makie.to_plotspec(ct, ([Point(0, 0)],), markersize=50),
Makie.to_plotspec(ct, ([Point(1, 1)],), markersize=50),
]
end
fig = scatter(MyS())
```
0.22:
<img width="500" alt="Image" src="https://github.com/user-attachments/assets/810a71fa-3421-44d9-a829-b23f4b2f41d9" />
0.24:
<img width="500" alt="Image" src="https://github.com/user-attachments/assets/fc74027a-d7db-46a9-a7ec-d63e1f6107e3" />
- [ ] What version of Makie are you running? (`]st -m Makie`) 0.24
- [ ] What is the last Makie version this feature worked on? 0.22
- [ ] can you reproduce the bug with a fresh environment ? (`]activate --temp; add Makie`) yes
- [ ] Which backend are you using? (GLMakie, CairoMakie, WGLMakie, RPRMakie) any
- [ ] What platform + GPU are you on? any
- [x] Please provide an minimal example of the failing code. If the problem is with the visualization, please provide a picture or video of it.
关闭于 2026-03-04 0 条评论