DOC Fixes hard coded title in gmm selection example plot
@@ -94,6 +94,7 @@ for i, (mean, cov, color) in enumerate(zip(clf.means_, clf.covariances_,
plt.xticks(())
plt.yticks(())
-plt.title('Selected GMM: full model, 2 components')
+plt.title(f'Selected GMM: {best_gmm.covariance_type} model, '
+ f'{best_gmm.n_components} components')
plt.subplots_adjust(hspace=.35, bottom=.02)
plt.show()
