Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Simplify argument checking in Table.__getitem__.#12932

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
timhoffm merged 1 commit intomatplotlib:masterfromanntzer:table2
Dec 5, 2018

Conversation

anntzer
Copy link
Contributor

This just lets the exception, if any, propagate out of
dict.__getitem__; this avoids e.g.Table[a, b, c] silently "working"
by silently dropping the third argument.

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code isFlake 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

This just lets the exception, if any, propagate out of`dict.__getitem__`; this avoids e.g. `Table[a, b, c]` silently "working"by silently dropping the third argument.
@anntzeranntzer added this to thev3.1 milestoneDec 5, 2018
@timhoffmtimhoffm merged commita6d689c intomatplotlib:masterDec 5, 2018
raamana added a commit to raamana/matplotlib that referenced this pull requestDec 13, 2018
* upstream/master: (1723 commits)  Correctly get weight & style hints from certain newer Microsoft fonts (matplotlib#12945)  Remove some checks for Py<3.6 in the test suite. (matplotlib#12974)  Fail-fast when trying to run tests with too-old pytest.  Include scatter plots in Qt figure options editor. (matplotlib#12779)  ENH: replace deprecated numpy header  Minor simplifications.  tickminorvisible-fix (matplotlib#12938)  Remove animated=True from animation docs  Update the documentation of Cursor  Misc. cleanups.  Add test for 3d conversion of empty PolyCollection  Support ~ as nonbreaking space in mathtext.  Deprecate public use of Formatter.pprint_val.  MAINT: Unify calculation of normal vectors from polygons (matplotlib#12136)  Fix the title of testing_api  More table documentation  Simplify bachelors degree example using new features.  Avoid pyplot in showcase examples.  Simplify argument checking in Table.__getitem__. (matplotlib#12932)  Minor updates following bump to Py3.6+.  ...# Conflicts:#lib/matplotlib/widgets.py
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@dopplershiftdopplershiftdopplershift approved these changes

@timhoffmtimhoffmtimhoffm approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v3.1.0
Development

Successfully merging this pull request may close these issues.

3 participants
@anntzer@dopplershift@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp