fix: Move opacity to Scatter trace level in Monte Carlo simulation plot
This commit is contained in:
parent
3eb6b7b62b
commit
bb54f9a159
@ -84,7 +84,8 @@ def create_simulation_plot(paths: np.ndarray, dates: pd.DatetimeIndex,
|
|||||||
x=dates,
|
x=dates,
|
||||||
y=paths[:, i],
|
y=paths[:, i],
|
||||||
name=f'Simulation {i+1}',
|
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
|
showlegend=False
|
||||||
),
|
),
|
||||||
row=1, col=1
|
row=1, col=1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user