We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 736d4ef commit ffa9220Copy full SHA for ffa9220
templategen/utils/__init__.py
@@ -72,6 +72,12 @@ def initialize_template(annotation_defaults,
72
# hovermode
73
template.layout.hovermode = 'closest'
74
75
+ # right-align hoverlabels
76
+ template.layout.hoverlabel.align = 'right'
77
+
78
+ # fix size of legend items
79
+ template.layout.legend.itemsizing = 'constant'
80
81
# Set background colors
82
template.layout.paper_bgcolor = paper_clr
83
template.layout.plot_bgcolor = panel_background_clr
0 commit comments