Skip to content

Commit

Permalink
Add alpha transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
reidjohnson committed Feb 11, 2024
1 parent e4c9b88 commit adb8763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/plot_quantile_multioutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def plot_multioutputs(colors, funcs, X, y):
for i in range(y.shape[-1]):
y1 = y_pred[:, 0, i]
y2 = y_pred[:, 2, i]
plt.fill_between(X, y1, y2, color=colors[i], label=f"Target {i}")
plt.fill_between(X, y1, y2, alpha=0.4, color=colors[i], label=f"Target {i}")
plt.plot(X, funcs[i](X), c="black")
plt.xlim(bounds)
plt.ylim([-8, 8])
Expand Down

0 comments on commit adb8763

Please sign in to comment.