Skip to content

Commit 24e962c

Browse files
committed
cosmit in plot_cv_predict
1 parent b52054f commit 24e962c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/plot_cv_predict.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
# is a prediction obtained by cross validated:
2121
predicted = cross_val_predict(lr, boston.data, y, cv=10)
2222

23-
fig,ax = plt.subplots()
23+
fig, ax = plt.subplots()
2424
ax.scatter(y, predicted)
2525
ax.plot([y.min(), y.max()], [y.min(), y.max()], 'k--', lw=4)
2626
ax.set_xlabel('Measured')
2727
ax.set_ylabel('Predicted')
28-
fig.show()
28+
plt.show()

0 commit comments

Comments
 (0)