Skip to content

Commit

Permalink
Merge pull request #573 from jgreene/patch-1
Browse files Browse the repository at this point in the history
Fix for column names with whitespace in hoverdata
  • Loading branch information
lmcinnes authored Feb 6, 2021
2 parents 80aed00 + 04838e3 commit ef1e32a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion umap/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1386,7 +1386,7 @@ def interactive(
tooltip_dict = {}
for col_name in hover_data:
data[col_name] = hover_data[col_name]
tooltip_dict[col_name] = "@" + col_name
tooltip_dict[col_name] = "@{" + col_name + "}"
tooltips = list(tooltip_dict.items())
else:
tooltips = None
Expand Down

0 comments on commit ef1e32a

Please sign in to comment.