Closed
Description
Code
run inside of a jupyter notebook cell...
import numpy as np
import plotly # plotly.__version__ == '2.0.6'
plotly.offline.init_notebook_mode()
import plotly.graph_objs as go
rows, cols = 3, 3
data = np.random.rand(rows, cols)
py.iplot(go.Figure(
data=[go.Heatmap(
name="CUSTOM NAME", # This SHOULD show up in the hoverinfo?
x=range(rows + 1),
y=range(cols + 1),
z=data,
text=np.where(data < .5, '<.5', '>.5'),
hoverinfo="name+text", # Want to see "CUSTOM NAME"
colorscale='Greens', reversescale=True, showscale=False
)],
layout=go.Layout(
title="Test",
xaxis=dict(title='X-Axis'),
yaxis=dict(title='Y-Axis'),
)
))
Result
it's a bit small, but you can see that the hovertext lacks the CUSTOM NAME text.
Metadata
Metadata
Assignees
Labels
something brokensomething broken