plotly / plotly/plotly.js

Logarithmic colorbar in heatmaps not working as documented

Open
#7,376 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug documentation P2
Dominant language
JavaScript
Stars
18.3k
Forks
2k
Avg merge
2d 12h
Merged PRs (30d)
28

Description

I created a forum post, describing the issue in full detail.

Basically, what I want is a logarithmic coloraxis for heatmaps, which is documented to work, but seems not to be implemented (in Plotly 2.35.3 nor 3.0.1).

Fixing the documentation would be the easiest solution, but implementing a logarithmic colorscale/colorbar according to the current (3.0.0) documentation should IMHO not be too hard and would add great value to plotly. (This feature was asked for multiple times in the plotly forums.)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked forum post and the layout/coloraxis colorbar documentation, then inspect how heatmaps handle coloraxis settings in Plotly.js 2.35.3 and 3.0.1. Clarify whether the documented logarithmic behavior should be implemented or the documentation corrected; done means the chosen behavior matches the published documentation and is verified for heatmaps.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.