Skip to content

Commit

Permalink
change default to white
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Feb 16, 2024
1 parent 4faa84c commit 5f5fd56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plots/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get_colour_from_model_name(model_name, opacity=1.0):

# get colour from model, some models have a space and a datetime
model_name_only = model_name.split(" ")[0]
colour = colour_per_model.get(model_name_only, "#000000")
colour = colour_per_model.get(model_name_only, "#FFFFFF")

# change opacity to hex
rgb = hex_to_rgb(colour)
Expand Down

0 comments on commit 5f5fd56

Please sign in to comment.