GenieFramework / GenieFramework/StipplePlotly.jl
PlotLayout has no field coloraxis
@AbhimanyuAryan is already working on this.
Since Jul 21, 2022.
- Dominant language
- Julia
- Stars
- 27
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
as the doc string of PlotDataMarker says
```julia
`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
```julia
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
```julia
ERROR: type PlotLayout has no field coloraxis
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.