When I plot markers, I cannot get hover to work at all. It plots like it should, but it does not hover at all.
I am applying the same process I would use for
mode = 'lines', which works like it should, meaning hover is functional.
Below is a MWE:
import pandas as pd import plotly import plotly.graph_objs as go df = pd.DataFrame(columns=['x', 'y', 'text']) df['x'] = [32.1, 32.3, 32.5, 32.7] df['y'] = [61.3, 61.5, 61.7, 61.9] df['text'] = ['Country A', 'Country B', 'Country C', 'Country D'] container =  for x, plot in df.groupby('text'): trace = (go.Scatter(x=plot.x, y=plot.y, mode = 'markers', name = x, hoverinfo ='text', marker = dict(size = 10))) container.append(trace) fig = dict(data=container) plotly.offline.plot(fig, validate=False) # offline plotting
I would appreciate any insight.