gonum / gonum/plot

How to create a heatMap legend displaying the gradient scaling ?

Open
#787 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
3k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

How do I create a heatmap legend on the right as in this matplotlib example below ? Is this possible without creating a second graphic ? Minimum coding would be preferable. Being able to adjust the hight of the color gradient bar would be also desirable.

![matplotlib heatmap exampe with legend](https://matplotlib.org/stable/_images/sphx_glr_image_annotated_heatmap_002_2_00x.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.