-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
histogram colored bars #1984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Here's one that works: http://rickyreusser.com/plotly-mock-viewer/#histogram_colorscale But really, how is |
right, we had already discussed removing histogram colorscale functionality, at least as implemented now - see #420 (comment) and #1500 - because it only works accidentally and depends on you explicitly making the correspondence between bins and color values. But I could certainly see supporting a histogram-specific colorscale functionality, where probably you would specify it similarly to @chriddyp the issue with doing it the way you tried is, as @etpinard alluded, the values you want to color don't match up with the values you're binning... so it's redundant (and ambiguous - what happens when two values that get binned together have different colors?) and also generally you'd want to color by either the bin value or the bin height rather than the pre-binned values. |
If In this case, |
Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson |
as reported in https://community.plot.ly/t/coloring-selected-range-in-histogram/5619/1
it looks like

marker.color
is documented in the schemabut i couldn't get it to work

The text was updated successfully, but these errors were encountered: