Skip to content

Band plot colors issue #4543

@aris-mav

Description

@aris-mav

Unexpected behaviour when selecting colors for band plot:

lines!(x, y , colormap=:viridis, colorrange=(1, 10), color=5)

works perfectly well, but

band!(x, y1,y2 , colormap=:viridis, colorrange=(1, 10), color=5)

throws the following:

TypeError: in typeassert, expected ColorTypes.RGBA{Float32}, got a value of type Float32

Metadata

Metadata

Assignees

No one assigned

    Labels

    MakieBackend independent issues (Makie core)bugcolorscolor, colormap, colorrange, alpha, etcplotRelated to plot object

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions