Skip to content

Hoverinfo doesn't work with plot_geo #1127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bcdunbar opened this issue Sep 28, 2017 · 2 comments
Closed

Hoverinfo doesn't work with plot_geo #1127

bcdunbar opened this issue Sep 28, 2017 · 2 comments

Comments

@bcdunbar
Copy link

hoverinfo doesn't work when used with plot_geo(). If hoverinfo is omitted, default hoveinfo works.

df <-read.csv('https://raw.githubusercontent.com/plotly/datasets/master/2011_february_us_airport_traffic.csv')

# doesn't work
p <- plot_geo(df, lat=~lat, lon=~long, hoverinfo='x')
 
# works with no console errors
p <- plot_geo(df, lat=~lat, lon=~long)
@cpsievert
Copy link
Collaborator

That 'x' should be 'lon', but it still doesn't work because of plotly/plotly.js#2044

@cpsievert
Copy link
Collaborator

This works now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants