scatterlines
cannot pass a number as one colorant for the whole scatterline
#3551
Closed
2 of 3 tasks
Labels
CairoMakie v0.11.5
]activate --temp; add Makie
)AMD R5 2700 + RX 580
The above codes cannot work and print this: ERROR: MethodError: Cannot
convert
an object of type Float32 to an object of type Union{ColorTypes.RGBA{Float32}, Vector{ColorTypes.RGBA{Float32}}, Vector{Float32}}However, this works in
lines
andscatter
A feasible solution is using vector as follows:
but the color of scatter is differ from line. I have to set
markercolor
andmarkercolormap
andmarkercolorrange
, it's very inelegant.The text was updated successfully, but these errors were encountered: