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
as the doc string of PlotDataMarker says
however, when i write a PlotLayout like
the error message shows that
ERROR: type PlotLayout has no field coloraxis