question-mark
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.

Heatmap legend can't be disabled

See original GitHub issue

It seems like showlegend: false for heatmaps is broken. I found this codepen in the docs that should have the legend hidden, but it’s still being rendered: https://codepen.io/plotly/pen/WQGgbe. That codepen is linked from this page: https://plot.ly/javascript/configuration-options/#modify-the-edit-chart-link-text.

I couldn’t get it to work by placing showlegend: false in either the trace or the layout. I also cherry picked a few previous versions to see if this worked at some point, but couldn’t find one.

Thanks for all your hard work!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
alexcjohnsoncommented, Mar 6, 2018

That’s because we don’t call it a legend, we call it a colorscale, with corresponding showscale attribute.

3reactions
alexcjohnsoncommented, Mar 6, 2018

(I don’t know why that example has showlegend in it, we’ll take that out… but just to be clear, showscale is a trace attribute, not a layout attribute)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Highcharts heatmap - disabling the legend results in different ...
I am using a Highcharts heatmap and if I disable the legend by setting legend: { enabled: false }. the colors used in...
Read more >
ComplexHeatmap.pdf - Bioconductor
Here the ComplexHeatmap package provides a highly flexible way to arrange multiple heatmaps and supports various annotation graphics.
Read more >
series.heatmap.showInLegend | highcharts API Reference
To disable boosting on the series, set the boostThreshold to 0. Setting it to 1 will force boosting. Note that the cropThreshold also...
Read more >
How To Create A Power BI Heat Map - Enterprise DNA
Set the Transparency to 100%, then disable the Visual header tooltip. Power BI Heat Map. Duplicate the first bar chart to create the...
Read more >
How do I disable only the heatmaps feature? - Matomo Analytics
ini.php . Once the setting is added to the config.ini.php file, the option to Disable/Enable Heatmaps will not be available ...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found