Skip to content

TYP: plotting, make weights kwd explicit #55877

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

Merged
merged 3 commits into from
Nov 8, 2023

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

@@ -58,13 +60,15 @@ def __init__(
bottom: int | np.ndarray = 0,
*,
range=None,
weights=None,
Copy link
Member

Choose a reason for hiding this comment

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

This is not available publicly correct i.e. doesn't need a docstring update?

Copy link
Member Author

Choose a reason for hiding this comment

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

this can be passed by the user; im not inclined to update the docstring since i dont know what is accepted as it is passed through to matplotlib

@mroeschke mroeschke added Visualization plotting Typing type annotations, mypy/pyright type checking labels Nov 8, 2023
@mroeschke mroeschke added this to the 2.2 milestone Nov 8, 2023
@mroeschke mroeschke merged commit a167f13 into pandas-dev:main Nov 8, 2023
@mroeschke
Copy link
Member

Thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the typ-plotting-7 branch November 8, 2023 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Typing type annotations, mypy/pyright type checking Visualization plotting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants