Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
Rewrite of image infrastructure#5718
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
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
65 commits Select commitHold shift + click to select a range
cf11aea Remove Image class. Replace with resample func
mdboom3b7d1bb Agg backend shouldn't do its own image interp
mdboomc9cae50 Update interpolation_methods.py to use viridis
mdboom4a05302 Remove svg.image_noscale rcParam
mdboom0aa222a Rewrite image classes
mdboom0793aa2 Update backends for new API
mdboom1384c7c Use transforms to rotate image, not hack
mdboom9148c7f Update tests
mdboom820479e Decrease generated code size
mdboomfad84c8 Remove explicit LICENSE.
mdboom64e84ea Numpy 1.6 compatibility
mdboom0be04c0 Add Agg filter test
mdbooma8643f1 Fix formatting
mdboom5df79f0 Mark test as known fail on Numpy 1.6
mdboomb436f1a Update draw_image API doc
mdboomdfbc39d Fix reference counting
mdboom9d3b468 [skip-ci] PEP8
mdboomf9d8534 Update what's new
mdboom7b32cd8 Fix demo_annotation_box.py
mdboom6e60ebf Fix #3057: Don't composite when interpolation == 'none'
mdboomdc66ed0 Remove broken example
mdboom7cccfb3 Support 16-bit grayscale
mdboom5073f6e Fix permissions on demo_image_affine.py
mdboom625e80a Fix alpha handling for interpolation == 'none'
mdboomc778cfc Use `kind` instead of `issubclass`
mdboom9fe6658 Update docstring
mdboomd61ac2a Revert change
mdboomb3318fd Make demo_text_path.py work again
mdboomffbbf05 Remove extraneous space
mdboomfbb55c8 Privatize self._images
mdboom34d6cc8 Simplify expression
mdboom4c5a3bf Update docstring
mdboom9448208 Fix #5520: Don't round up if already rounded
mdboom83f4bc9 Merge pull request #17 from tacaswell/image-interpolation
mdboomd5030a4 Use abs() for NEAREST check
mdboom55c1abb Image composite respecting z-order
mdboomfe376c4 Fix #4280: Preserve size when saving images
mdboom5266fde Python 2.x fix
mdboom9285c3a Update composite_images docstring
mdboome2b2bbe Refine can_composite
mdboomb894683 Improve make_image docstring
mdboom4e43c8b Use X.ndim over len(X.shape)
mdboom8665697 Use float32 when applying alpha
mdboomd21a6ed Use output.shape
mdboom2d2a126 Add unsampled kwarg everywhere
mdboom6d3518a PEP8
mdboom0b8d693 Use super()
mdboom0f43f68 Put shape in exception
mdboomcd0e7e0 Case insensitive check for PNG extension
mdboome62832f Fix Numpy version check
mdboome7d54d5 @cleanup unnecessary here
mdboom3e532e1 Make BboxImage work
mdboomcfad8d9 Reinstate strictness of test_imsave_color_alpha
mdboome52c26f PEP8
mdboom0469ab7 Fix has image test in Axes
mdboomb391f08 Refactor image compositing logic into a single function
mdboom89365c1 Properly handle NULL composite image
mdboom7f2f375 PEP8
mdboom9827d1f Consistent handling of empty composite images
mdboom5be66de Rename lena variable
mdboombd521cd Update docstring to reflect reality
mdboomd6b22a5 Address more minor comments in the PR
mdboomfff1d66 Increase tolerance on Windows
mdboomda6c00b Increase tolerance of png_suite test
mdboomc9b2425 PEP8
mdboomFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Agg backend shouldn't do its own image interp
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit3b7d1bb73f73ca667f3978e9d8201112761d6ee9
There are no files selected for viewing
12 changes: 3 additions & 9 deletionslib/matplotlib/backends/backend_agg.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
55 changes: 12 additions & 43 deletionssrc/_backend_agg.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
22 changes: 5 additions & 17 deletionssrc/_backend_agg_wrapper.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.