Skip to content

Commit

Permalink
solves legend outside opaque area in hovering
Browse files Browse the repository at this point in the history
  • Loading branch information
camiloramirezgo committed Sep 24, 2019
1 parent 14f9614 commit 47a2205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
showlegend=True,
)

hover_template = '<br><b>Value</b>: %{y:.2f}' + '<br><b>Year</b>: %{x}'
hover_template = '<b>Value</b>: %{y:.2f}' + '<br><b>Year</b>: %{x}'

units_dict = {'PJ': 1, 'Mtoe': 0.0238845897, 'MMboe': 0.163456, 'TWh': 0.277777778, None: 1}

Expand Down

0 comments on commit 47a2205

Please sign in to comment.