Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion templategen/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from plotly import graph_objs as go
from .colors import GRAY27

colorscale_parent_paths = [
('histogram2dcontour',),
Expand Down Expand Up @@ -157,8 +158,12 @@ def initialize_template(annotation_defaults,
'line': {'color': table_line_clr}}}]

# Bar outline
# Changing marker line color also affects error color,
# so reset default error colors
template.data.bar = [
{'marker': {'line': {'width': 0.5, 'color': panel_background_clr}}}]
{'marker': {'line': {'width': 0.5, 'color': panel_background_clr}},
'error_y': {'color': GRAY27},
'error_x': {'color': GRAY27}}]
template.data.barpolar = [
{'marker': {'line': {'width': 0.5, 'color': panel_background_clr}}}]

Expand Down