Closed
Description
Here's a working example of how to maker a colorbar on a scatter plot.
import plotly.plotly as py
fig = {
"data": [{
"marker": {
"color": [0, -1, -2, -3, -4, -7, -8, -9, -33, -34, -35, -36, -37],
"colorbar": {"title": "hi!"}
},
"y": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13],
"type": "scatter",
"mode": "markers",
}],
"layout": {"title": "scatter + colorbar = <3", "showlegend": False}
}
py.iplot(fig, validate=False)
This was completed in streambed in https://github.com/plotly/streambed/pull/2430
Metadata
Metadata
Assignees
Labels
No labels