Skip to content

Commit b04ec47

Browse files
Fix example, keyword in matplotlib (#138)
1 parent ba4855c commit b04ec47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/eigenpro/plot_eigenpro_synthetic.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
feature_counts, eig_fit_times, "o-", color="r", label="EigenPro Classifier"
9393
)
9494
ax.set_xscale("log")
95-
ax.set_yscale("log", nonposy="clip")
95+
ax.set_yscale("log", nonpositive="clip")
9696
ax.set_xlabel("Number of features")
9797
ax.set_ylabel("time (seconds)")
9898
ax.legend()
@@ -107,7 +107,7 @@
107107
ax.plot(feature_counts, eig_pred_times, "o-", color="r")
108108
ax.plot(feature_counts, svc_pred_times, "o--", color="g")
109109
ax.set_xscale("log")
110-
ax.set_yscale("log", nonposy="clip")
110+
ax.set_yscale("log", nonpositive="clip")
111111
ax.set_ylabel("time (seconds)")
112112
ax.set_title("Prediction Time")
113113
ax.set_xticks([])

0 commit comments

Comments
 (0)