Skip to content

Commit 5198334

Browse files
author
Vianney Taquet
committed
Minor modif in toy data example
1 parent b1b2982 commit 5198334

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ The estimated prediction intervals can then be plotted as follows.
111111
plt.plot(X[order], y_pis[order][:, 1, 1], color="C1", ls="--")
112112
plt.fill_between(
113113
X[order].ravel(),
114-
y_pis[:, 0, 0][order].ravel(),
115-
y_pis[:, 1, 0][order].ravel(),
114+
y_pis[order][:, 0, 0].ravel(),
115+
y_pis[order][:, 1, 0].ravel(),
116116
alpha=0.2
117117
)
118118
coverage_scores = [

doc/quick_start.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ The estimated prediction intervals can then be plotted as follows.
8181
plt.plot(X[order], y_pis[order][:, 1, 1], color="C1", ls="--")
8282
plt.fill_between(
8383
X[order].ravel(),
84-
y_pis[:, 0, 0][order].ravel(),
85-
y_pis[:, 1, 0][order].ravel(),
84+
y_pis[order][:, 0, 0].ravel(),
85+
y_pis[order][:, 1, 0].ravel(),
8686
alpha=0.2
8787
)
8888
plt.title(

0 commit comments

Comments
 (0)