Skip to content

Conversation

@tbenjamin-pl
Copy link
Contributor

@tbenjamin-pl tbenjamin-pl commented Jun 1, 2020

Reference Issues/PRs

Fixes #17408

What does this implement/fix? Explain your changes.

Any other comments?

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thomasjpfan
Copy link
Member

For future reference, it's good to put "Fixes ISSUE_NUMBER" in your opening message, this would cause github to automatically close the issue this PR is resolving.

@thomasjpfan thomasjpfan changed the title fixed hard coded title in gmm selection example plot. fixes issue 17408 DOC Fixes hard coded title in gmm selection example plot Jun 1, 2020
Comment on lines 97 to 98
plt.title('Selected GMM: {} model, {} components'.format(
best_gmm.covariance_type, best_gmm.n_components))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @tbenjamin-pl what about using a f-string here?

Copy link
Member

@rth rth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tbenjamin-pl !

@rth rth merged commit 61ce18f into scikit-learn:master Aug 7, 2020
jayzed82 pushed a commit to jayzed82/scikit-learn that referenced this pull request Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Misleading chart title in Gaussian Mixture Model Selection documentation example code

4 participants