Black Lives Matter. Please consider donating to Black Girls Code today.

Heatmap modular plotly

I import specific plot modules as follows

import * as PlotlyCore from 'plotly.js/lib/core'
import * as PlotlyScatter from 'plotly.js/lib/scatter'
import * as PlotlyBar from 'plotly.js/lib/bar'


Works perfectly. Now I want to create a heatmap and can’t find the module in plotly.js\src\lib folder.

Where is it located in the source code please?


import * as PlotlyHeatmap from 'plotly.js/lib/heatmap'

should do the trick.

It does! Thanks. Was looking in wrong folder.