Skip to content

Commit

Permalink
Rename light-light gray to fog gray
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilwoodruff committed Dec 17, 2024
1 parent 65d8f41 commit 579ae96
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions policyengine/utils/charts.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def add_fonts():
WHITE = "#FFFFFF"
TEAL_98 = "#F7FDFC"
BLACK = "#000000"
LIGHT_LIGHT_GRAY = "#F4F4F4"
FOG_GRAY = "#F4F4F4"

BLUE_COLOUR_SCALE = [
BLUE_LIGHT,
Expand Down Expand Up @@ -70,13 +70,13 @@ def format_fig(
template="plotly_white",
height=600,
width=800,
plot_bgcolor=LIGHT_LIGHT_GRAY, # set background color to light gray
paper_bgcolor=LIGHT_LIGHT_GRAY, # set paper background color to white
plot_bgcolor=FOG_GRAY, # set background color to light gray
paper_bgcolor=FOG_GRAY, # set paper background color to white
# No white grid marks
xaxis=dict(gridcolor=LIGHT_LIGHT_GRAY, zerolinecolor=LIGHT_LIGHT_GRAY),
xaxis=dict(gridcolor=FOG_GRAY, zerolinecolor=FOG_GRAY),
yaxis=dict(
gridcolor=LIGHT_LIGHT_GRAY,
zerolinecolor=DARK_GRAY if add_zero_line else LIGHT_LIGHT_GRAY,
gridcolor=FOG_GRAY,
zerolinecolor=DARK_GRAY if add_zero_line else FOG_GRAY,
),
)

Expand Down Expand Up @@ -110,9 +110,9 @@ def format_fig(
# don't show modebar
fig.update_layout(
modebar=dict(
bgcolor=LIGHT_LIGHT_GRAY,
color=LIGHT_LIGHT_GRAY,
activecolor=LIGHT_LIGHT_GRAY,
bgcolor=FOG_GRAY,
color=FOG_GRAY,
activecolor=FOG_GRAY,
),
margin_b=120,
margin_t=120,
Expand Down

0 comments on commit 579ae96

Please sign in to comment.