Hoverongaps=False does not work in Dash?

Hello,

For a heatmap I want the hover information not displayed for NaN-points. It worked in Jupiter Notebook, however not if I plot the figure via PyCharm to Dash? Anyone knows how to solve this?

Example:
fig= make_subplots(1,2)
fig.add_trace(go.Heatmap(x = [1, 2, 3, 4], z = [[1, 2, 3, 4], [4, -3, -1, 1]], coloraxis = “coloraxis”), 1,1)
fig.add_trace(go.Heatmap(x = [3, 4, 5, 6], z = [[10, 2, 1, 0], [4, 3, np.nan, 6]], hoverongaps = False, coloraxis = “coloraxis”),1,2)

In app environment:
dcc.Graph(figure=fig)

Could you try upgrading dash?

Ah yes it’s working now :sweat_smile:

Thanks!!