Heatmap does not play along with legend

I have a plotly Figure with various traces. I’d like to add a heatmap to the figure. This works fine, however the heatmap does not show up in the figure legend, even if I specify the ‘name’ argument when calling Heatmap. The docs seem to imply that it should.
Also, the ‘legendgroup’ and ‘showlegend’ arguments to Heatmap are not even recognized.

We’re hoping to add that soon. Please subscribe to https://github.com/plotly/plotly.js/issues/2642 for the most up-to-date development info.

@etienne thanks, I had somehow missed that. I guess I’ll work around it by creating the heatmap tiles via Scatter / fill, instead of using Heatmap.