Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setting multiple marker colors on box plot

See original GitHub issue

According 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 and cmax if set.

It doesn’t appear to work. Setting marker.color to Array results in default color being used, as this codepen demonstrates:

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:3
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

ahmedhosnycommented, Jun 8, 2020

Any activity on this front? It seems the “selectedpoints” attribute only allows for one subgroup.

le01phuocommented, May 23, 2018

A simpler version, where you can highlight several points by the attribute: ‘selectedpoints’ of box.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found