Skip to content

Commit

Permalink
fix(bar): Improve the usefulness of bar hover text
Browse files Browse the repository at this point in the history
It's fairly obvious which bar is in which month but the color of the data type can sometimes be close to others so it's helpful to have this in the hover text.
  • Loading branch information
chriswmackey committed Jun 30, 2022
1 parent 359ff12 commit 8c771e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ladybug_charts/to_figure.py
Expand Up @@ -174,7 +174,7 @@ def _monthly_bar(data: MonthlyCollection, var: str, var_unit: str,
hovertemplate=(
'<br>%{y} '
+ var_unit
+ ' in %{customdata[0]}'
+ ' ' + var
+ '<extra></extra>'),
marker_color=rgb_to_hex(color),
marker_line_color='black',
Expand Down

0 comments on commit 8c771e3

Please sign in to comment.