Skip to content

Add _check_isinstance helper.#14470

Merged
tacaswell merged 1 commit into
matplotlib:masterfrom
anntzer:check_isinstance
Jun 8, 2019
Merged

Add _check_isinstance helper.#14470
tacaswell merged 1 commit into
matplotlib:masterfrom
anntzer:check_isinstance

Conversation

@anntzer
Copy link
Copy Markdown
Contributor

@anntzer anntzer commented Jun 6, 2019

Does the same as _check_in_list... but for isinstance checks.

A large number of checks for Normalize were grouped into
ScalarMappable.set_norm.

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

@anntzer anntzer force-pushed the check_isinstance branch from c8afd5b to 5074639 Compare June 6, 2019 22:10
Does the same as _check_in_list... but for isinstance checks.

A large number of checks for Normalize were grouped into
`ScalarMappable.set_norm`.
@anntzer anntzer force-pushed the check_isinstance branch from 5074639 to 63b7515 Compare June 6, 2019 22:49
@tacaswell tacaswell added this to the v3.2.0 milestone Jun 8, 2019
@tacaswell tacaswell merged commit a2ff624 into matplotlib:master Jun 8, 2019
@anntzer anntzer deleted the check_isinstance branch June 8, 2019 20:38
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.

3 participants