JuliaPlots / JuliaPlots/PlotlyJS.jl

ENH: handle trace attributes similar to x and y in convenience api

Open
#155 0 comments 0 reactions 0 assignees View on GitHub
api
Dominant language
Julia
Stars
444
Forks
86
PR merge metrics
No merged PRs in 30d

Description

See the inconsistency here:

```
julia> print(json(plot([1 2; 3 4], marker_color=[:red :blue]), 2))
{
"layout": {
"margin": {
"l": 50,
"b": 50,
"r": 50,
"t": 60
}
},
"data": [
{
"marker": {
"color": [
[
"red"
],
[
"blue"
]
]
},
"y": [
1,
3
],
"type": "scatter",
"x": [
1,
2
]
},
{
"marker": {
"color": [
[
"red"
],
[
"blue"
]
]
},
"y": [
2,
4
],
"type": "scatter",
"x": [
1,
2
]
}
]
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.