Skip to content

Commit

Permalink
fix: Fix hover formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pmav99 committed Feb 6, 2024
1 parent 32c2dc5 commit e15dc97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thalassa/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,11 @@ def get_hover(variable: str) -> bokeh.models.HoverTool:

hover = bokeh.models.HoverTool(
tooltips=[
("time", "@time{%F %T}"),
("time", "@{time}{%F %T}"),
(f"{variable}", f"@{variable}"),
],
formatters={
"@time": "datetime",
"@{time}": "datetime",
},
)
return hover
Expand Down

0 comments on commit e15dc97

Please sign in to comment.