We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc11111 commit a22ffc5Copy full SHA for a22ffc5
templategen/utils/__init__.py
@@ -1,4 +1,5 @@
1
from plotly import graph_objs as go
2
+from .colors import GRAY27
3
4
colorscale_parent_paths = [
5
('histogram2dcontour',),
@@ -157,8 +158,12 @@ def initialize_template(annotation_defaults,
157
158
'line': {'color': table_line_clr}}}]
159
160
# Bar outline
161
+ # Changing marker line color also affects error color,
162
+ # so reset default error colors
163
template.data.bar = [
- {'marker': {'line': {'width': 0.5, 'color': panel_background_clr}}}]
164
+ {'marker': {'line': {'width': 0.5, 'color': panel_background_clr}},
165
+ 'error_y': {'color': GRAY27},
166
+ 'error_x': {'color': GRAY27}}]
167
template.data.barpolar = [
168
{'marker': {'line': {'width': 0.5, 'color': panel_background_clr}}}]
169
0 commit comments