Skip to content

Commit

Permalink
Fix hover for overlays of gv.Points (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro authored May 10, 2023
1 parent 0792c01 commit d137085
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion geoviews/plotting/bokeh/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ def initialize_plot(self, ranges=None, plot=None, plots=None, source=None):

def _postprocess_hover(self, renderer, source):
super()._postprocess_hover(renderer, source)
hover = self.handles.get('hover')
hover = getattr(self.handles["plot"], "hover")
hover = hover[0] if hover else None
if (not self.geographic or hover is None or
isinstance(hover.tooltips, str) or self.projection is not GOOGLE_MERCATOR
or hover.tooltips is None or 'hv_created' not in hover.tags):
Expand Down

0 comments on commit d137085

Please sign in to comment.