Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 95d4f08

Browse files
authored
Fix plot_iterative_imputer_variants_comparison.py on 0.22.X (#16639)
1 parent daefc22 commit 95d4f08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/impute/plot_iterative_imputer_variants_comparison.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,6 @@
127127
ax.set_title('California Housing Regression with Different Imputation Methods')
128128
ax.set_xlabel('MSE (smaller is better)')
129129
ax.set_yticks(np.arange(means.shape[0]))
130-
ax.set_yticklabels([" w/ ".join(label) for label in means.index.get_values()])
130+
ax.set_yticklabels([" w/ ".join(label) for label in means.index.tolist()])
131131
plt.tight_layout(pad=1)
132132
plt.show()

0 commit comments

Comments
 (0)