Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-15893: rename 'partial_plot' 'data' param to 'frame' for consistency #15895

Merged
merged 9 commits into from
Nov 6, 2023

Conversation

sebhrusen
Copy link
Contributor

@sebhrusen sebhrusen commented Oct 31, 2023

Fix for issue: #15893

Python client

Deprecating data param on function partial_plot and forward to new param name frame for consistency with other plot functions.

R client

Deprecating data param on function partialPlot and forward to new param name newdata for consistency with other R plot functions.
Note that the "standard" param name in R is different than in Python. We probably wanted to use a standard R param name instead of prioritizing compatibility with Py API.

@sebhrusen sebhrusen changed the title GH-15893: … GH-15893: rename 'partial_plot' 'data' param to 'frame' for consistency Oct 31, 2023
@sebhrusen sebhrusen added this to the 3.44.0.2 milestone Oct 31, 2023
@sebhrusen sebhrusen self-assigned this Oct 31, 2023
@sebhrusen sebhrusen linked an issue Oct 31, 2023 that may be closed by this pull request
mn-mikke
mn-mikke previously approved these changes Nov 1, 2023
Copy link
Collaborator

@mn-mikke mn-mikke left a comment

Choose a reason for hiding this comment

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

This a great solution how to solve the request, thank you!

h2o-r/h2o-package/R/models.R Outdated Show resolved Hide resolved
@sebhrusen sebhrusen requested a review from tomasfryda November 6, 2023 11:18
@sebhrusen sebhrusen requested a review from mn-mikke November 6, 2023 11:24
tomasfryda
tomasfryda previously approved these changes Nov 6, 2023
Copy link
Contributor

@tomasfryda tomasfryda left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you @sebhrusen !

tomasfryda
tomasfryda previously approved these changes Nov 6, 2023
Copy link
Contributor

@tomasfryda tomasfryda left a comment

Choose a reason for hiding this comment

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

Sorry for not checking when ...names was introduced to R.

@sebhrusen
Copy link
Contributor Author

Sorry for not checking when ...names was introduced to R.

@tomasfryda any reference for API changes on the web or to browse old doc easily?
I found it tedious to find API doc for old versions or to check change list for specific versions.

What I found:

@sebhrusen sebhrusen merged commit 79e57c1 into rel-3.44.0 Nov 6, 2023
2 checks passed
@sebhrusen sebhrusen deleted the seb/gh-15893 branch November 6, 2023 22:57
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.

Inconsistency in parameter names for plot functions
4 participants