Skip to content

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Aug 18, 2022

  • Rely on __init_subclass__ to avoid the need for the out-of-order
    interpd.update/dedent_interpd.
  • Use consistent wording for all setters, and add ACCEPTS list in all
    cases.
  • Move get_boxstyle right next to set_boxstyle (consistently with the
    other setters/getters).
  • Make the type check in the setters consistent in all cases (check for
    str, not for forcing inheritance from the private _Base).
  • Support set_connectionstyle() as equivalent to
    set_connectionstyle(None), consistently with the other two setters.

PR Summary

PR Checklist

Tests and Styling

  • Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (install flake8-docstrings and run flake8 --docstring-convention=all).

Documentation

  • New features are documented, with examples if plot related.
  • 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).
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).

- Rely on `__init_subclass__` to avoid the need for the out-of-order
  `interpd.update`/`dedent_interpd`.
- Use consistent wording for all setters, and add ACCEPTS list in all
  cases.
- Move get_boxstyle right next to set_boxstyle (consistently with the
  other setters/getters).
- Make the type check in the setters consistent in all cases (check for
  str, not for forcing inheritance from the private _Base).
- Support `set_connectionstyle()` as equivalent to
  `set_connectionstyle(None)`, consistently with the other two setters.
@timhoffm
Copy link
Member

Anybody can merge when green.

@QuLogic QuLogic merged commit 2a632f7 into matplotlib:main Aug 20, 2022
@QuLogic QuLogic added this to the v3.6.0 milestone Aug 20, 2022
@anntzer anntzer deleted the sd branch August 20, 2022 08:18
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.

3 participants