Skip to content

PlotLayout has no field coloraxis #46

Description

@honghuzi

as the doc string of PlotDataMarker says

`coloraxis::String` - Sets a reference to a shared color axis. References to these shared color axes are "coloraxis", "coloraxis2", "coloraxis3", etc. Settings for these shared color axes are set in the layout, under `layout.coloraxis`, `layout.coloraxis2`, etc. Note that multiple color scales can be linked to the same color axis.

however, when i write a PlotLayout like

const preview_layout = PlotLayout(
    title = PlotLayoutTitle(text = "Densified Overlay preview", font = Font(24)),
    showlegend = true,
    grid = PlotLayoutGrid(rows = 1, columns = 2, pattern = "independent"),
    xaxis = [PlotLayoutAxis(xy = "x", index = i, title = "x") for i = 1:2],
    yaxis = [PlotLayoutAxis(xy = "y", index = i, title = "y") for i = 1:2],
    coloraxis = [PlotLayoutAxis(xy = "z", index = i, title = "z") for i = 1:2]
    )

the error message shows that

ERROR: type PlotLayout has no field coloraxis

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions