Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Kill the C-level (private) RendererAgg.buffer_rgba, which returns a copy.#14924

Merged
tacaswell merged 1 commit intomatplotlib:masterfrom
anntzer:buffer_rgba
Aug 5, 2019
Merged

Kill the C-level (private) RendererAgg.buffer_rgba, which returns a copy.#14924
tacaswell merged 1 commit intomatplotlib:masterfrom
anntzer:buffer_rgba

Conversation

@anntzer
Copy link
Copy Markdown
Contributor

@anntzer anntzer commented Jul 30, 2019

Not to be confused with the Python-level buffer_rgba, which returns
a memoryview, which we can also use to save a copy when saving to
jpeg/tiff.

Also remove some dpi-settings, which occur after drawing and are thus
pointless anyways.

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 changed the title Kill the C-level RendererAgg.buffer_rgba, which returns a copy. Kill the C-level (private) RendererAgg.buffer_rgba, which returns a copy. Jul 30, 2019
Not to be confused with the Python-level buffer_rgba, which returns
a memoryview, which we can also use to save a copy when saving to
jpeg/tiff.

Also remove some dpi-settings, which occur after drawing and are thus
pointless anyways.
@tacaswell tacaswell added this to the v3.2.0 milestone Aug 5, 2019
@tacaswell tacaswell merged commit 73e2f56 into matplotlib:master Aug 5, 2019
@anntzer anntzer deleted the buffer_rgba branch August 5, 2019 04:13
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.

4 participants