Hi,
is it possible to add an Icon or png on top of the points?
I use Scatter and I want to see an I on top of each marker.
is it possible?
thank you
Hi,
is it possible to add an Icon or png on top of the points?
I use Scatter and I want to see an I on top of each marker.
is it possible?
thank you
This isn’t possible right now, however a feature issue has been reported in the plotly.js
repository here: https://github.com/plotly/plotly.js/issues/1323
The following works for me.
image = Image.open('path/my_icons.png')
go.Layout(
images=[{'source': image,
'x': 0.5, 'y': 0.5, 'xref': 'paper', 'yref': 'paper', 'sizex': 0.3, 'sizey': 0.3,
'visible': True, 'layer': "above"}]
)