JuliaPlots / JuliaPlots/PlotlyJS.jl
example code error for `heatmaps` in doc
Open
- Dominant language
- Julia
- Stars
- 444
- Forks
- 86
- PR merge metrics
- No merged PRs in 30d
Description
@PlotlyJS v0.18.8
Original doc (wrong):
```julia
function heatmap2()
trace = heatmap(
x=["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
y=["Morning", "Afternoon", "Evening"],
z=rand(1:30, 5, 3) # <---- Here error is!
)
plot(trace)
end
heatmap2()
```
Correct code:
```julia
function heatmap2()
trace = heatmap(
x=["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
y=["Morning", "Afternoon", "Evening"],
z=rand(1:30, 3,5)
)
plot(trace)
end
heatmap2()
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.