Dear all,
I like to add a heatmap.jpg to a dashboard as I don´t want to recreate a sophisticated sns.heatmap in px due to time constraints.
I import the jpg with
heatmap = io.imread(‘heatmap.png’)
I can´t display it like the other graph objects (histograms, etc) with
dcc.Graph(
id=‘heatmap’,
figure=heatmap,
style={‘width’:‘49’, ‘display’: ‘inline-block’}
)
Errror message is “Invalid argument figure
passed into Graph with ID “heatmap”.”
Is dcc.Graph the wrong approach for a jpg?
1 post - 1 participant