Skip to content

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Apr 5, 2021

PR Summary

PR Checklist

  • Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (run flake8 on changed files to check).
  • New features are documented, with examples if plot related.
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • Conforms to Matplotlib style conventions (install flake8-docstrings and run flake8 --docstring-convention=all).
  • New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).

@anntzer anntzer force-pushed the errorbarxy branch 2 times, most recently from d68c57f to db3a8eb Compare April 5, 2021 21:54
Copy link
Member

@timhoffm timhoffm left a comment

Choose a reason for hiding this comment

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

Essentially ok. Optionally the naming could be further clarified.

Comment on lines 3434 to 3435
io, lo, ho = apply_mask([indep, low, high], nolims & everymask)
for lho in [lo, ho]:
Copy link
Member

Choose a reason for hiding this comment

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

If you can think of better names for io, lo, ho, lho that'd be great. I also don't get what the o is standing for.

indep_masked, low_masked, high_masked may be an option.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't know either, I just reused it from the original version of the code. Agreed that _masked seems fine here.

@jklymak jklymak merged commit 31d5636 into matplotlib:master May 20, 2021
@QuLogic QuLogic added this to the v3.5.0 milestone May 20, 2021
@anntzer anntzer deleted the errorbarxy branch May 20, 2021 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants