Skip to content

Commit 92d0590

Browse files
committed
Add strict=True
1 parent bbad6cb commit 92d0590

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flixopt/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ def with_plotly(
503503
# Process colors
504504
all_vars = df_long['variable'].unique().tolist()
505505
processed_colors = ColorProcessor(engine='plotly').process_colors(colors, all_vars)
506-
color_discrete_map = {var: color for var, color in zip(all_vars, processed_colors, strict=False)}
506+
color_discrete_map = {var: color for var, color in zip(all_vars, processed_colors, strict=True)}
507507

508508
# Create plot using Plotly Express based on mode
509509
common_args = {

0 commit comments

Comments
 (0)