# Logarithmic coloraxis in heatmaps not working as documented

**URL:** <https://community.plotly.com/t/logarithmic-coloraxis-in-heatmaps-not-working-as-documented/90650>\
**Category:** plotly.js\
**Created:** [February 20, 2025, 9:28am UTC](https://community.plotly.com/t/logarithmic-coloraxis-in-heatmaps-not-working-as-documented/90650 "2025-02-20T09:28:31Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Saratoga](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/saratoga/32/28634_2.png) [@Saratoga](https://community.plotly.com/u/Saratoga)\
**Post date:** [February 24, 2025, 7:08pm UTC](https://community.plotly.com/t/logarithmic-coloraxis-in-heatmaps-not-working-as-documented/90650/5 "2025-02-24T19:08:12Z")

</div>

Check this out, the first heatmap is an example that I took from the Python documentation and passed it to javascript and in the second I just adapted your data to the first example.

https://codepen.io/saratoga01/embed/preview/raNMaBr?default-tabs=js%2Cresult&height=300&host=https%3A%2F%2Fcodepen.io&slug-hash=raNMaBr

---

_[View the full topic](https://community.plotly.com/t/logarithmic-coloraxis-in-heatmaps-not-working-as-documented/90650)._
