Setting multiple marker colors on box plot
See original GitHub issueAccording to Plotly’s Javascript documentation, it should be possible to set multiple colors for markers in box plot:
Sets the marker.line color. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to
cmin
andcmax
if set.
It doesn’t appear to work. Setting marker.color
to Array results in default color being used, as this codepen demonstrates: https://codepen.io/palimondo/pen/qxEaKo
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Vary the colors of same-series data markers in a chart
Set varying colors of data markers (bars, columns, lines, pie or doughnut slices, dots, and other shapes) automatically in an Office chart.
Read more >Box plots with custom fill colors - Matplotlib
This plot illustrates how to create two types of box plots (rectangular and notched), and how to fill them with custom colors by...
Read more >Python Matplotlib Boxplot Color - Stack Overflow
To colorize the boxplot, you need to first use the patch_artist=True keyword to tell it that the boxes are patches and not just...
Read more >How do you change the colors of the markers on a box plot?
When I make a Quantiles box plot for my data in the report window, by default, the markers are all different colors.
Read more >A Complete Guide to Box Plots | Tutorial by Chartio
Lines extend from each box to capture the range of the remaining data, with dots placed past the line edges to indicate outliers....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Any activity on this front? It seems the “selectedpoints” attribute only allows for one subgroup.
A simpler version, where you can highlight several points by the attribute: ‘selectedpoints’ of box.
https://community.plot.ly/t/color-a-group-of-individual-points-in-boxplot/10432