fix: Move opacity to Scatter trace level in Monte Carlo simulation plot

This commit is contained in:
Bobby (aider) 2025-02-17 15:14:13 -08:00
parent 3eb6b7b62b
commit bb54f9a159

View File

@ -84,7 +84,8 @@ def create_simulation_plot(paths: np.ndarray, dates: pd.DatetimeIndex,
x=dates,
y=paths[:, i],
name=f'Simulation {i+1}',
line=dict(color='orange', width=0.1, opacity=0.1),
line=dict(color='orange', width=0.1),
opacity=0.1,
showlegend=False
),
row=1, col=1