Skip to content
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

Dedupe ImageGrid doc from tutorial and docstring. #16372

Merged
merged 1 commit into from
Feb 1, 2020

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Jan 30, 2020

ImageGrid is so little-maintained that I don't think we should have
duplicate argument lists in the tutorial and the docstring, given that
they will go out of sync (for more commonly used APIs, sure, we can
maintain the duplication, but here it's not worth it). Add to the
docstring the relevant parts of the tutorial, and make the tutorial
point to the API docs.

Closes #16371.

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

ImageGrid is so little-maintained that I don't think we should have
duplicate argument lists in the tutorial and the docstring, given that
they *will* go out of sync (for more commonly used APIs, sure, we can
maintain the duplication, but here it's not worth it).  Add to the
docstring the relevant parts of the tutorial, and make the tutorial
point to the API docs.
@codecov
Copy link

codecov bot commented Jan 30, 2020

Codecov Report

Merging #16372 into master will decrease coverage by 0.75%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #16372      +/-   ##
==========================================
- Coverage   80.85%   80.10%   -0.76%     
==========================================
  Files         307      307              
  Lines       75745    75745              
  Branches     9690     9690              
==========================================
- Hits        61245    60674     -571     
- Misses      11961    12561     +600     
+ Partials     2539     2510      -29     
Impacted Files Coverage Δ
lib/matplotlib/backends/backend_wxcairo.py 0.00% <0.00%> (-64.00%) ⬇️
lib/matplotlib/backends/backend_wx.py 0.00% <0.00%> (-49.95%) ⬇️
lib/matplotlib/backends/backend_macosx.py 4.39% <0.00%> (-36.27%) ⬇️
lib/matplotlib/backends/backend_wxagg.py 1.88% <0.00%> (-33.97%) ⬇️
lib/matplotlib/backends/backend_gtk3cairo.py 92.00% <0.00%> (-8.00%) ⬇️
lib/matplotlib/backends/qt_compat.py 48.42% <0.00%> (-3.16%) ⬇️
lib/matplotlib/cbook/deprecation.py 85.38% <0.00%> (-1.54%) ⬇️
lib/matplotlib/backends/backend_qt5.py 56.21% <0.00%> (-1.17%) ⬇️
lib/matplotlib/font_manager.py 74.53% <0.00%> (-0.75%) ⬇️
lib/matplotlib/backends/backend_cairo.py 59.42% <0.00%> (-0.73%) ⬇️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e4dbf4e...c328250. Read the comment docs.

@timhoffm timhoffm added this to the v3.3.0 milestone Feb 1, 2020
@timhoffm timhoffm merged commit 7a2971b into matplotlib:master Feb 1, 2020
@anntzer anntzer deleted the griddoc branch February 2, 2020 06:22
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.

Incomplete documentation in axes_grid1
2 participants