I am facing an issue where the sklearn set_config is failing. I am using Google Colab and also it is failing on Jupyter Notebook as well. Even the code when copied from https://scikit-learn.org/stable/auto_examples/release_highlights/plot_release_highlights_0_23_0.html#sphx-glr-auto-examples-release-highlights-plot-release-highlights-0-23-0-py also failing with same error.
from sklearn import set_config
set_config(display='diagram')
Error: TypeError: set_config() got an unexpected keyword argument 'display'
Please suggest how to resolve this.