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

Skip to content

Allow users to decide whether a vector graphics backend combines multiple images into a single image #4061

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

Merged
merged 8 commits into from
Mar 6, 2015
Merged
Prev Previous commit
Next Next commit
Fixed an indentation issue with 'matplotlibrc.template' and reverted …
…a comment in 'test_image.test_image_composite_alpha()' to the 'composite_image' terminology.
  • Loading branch information
breedlun committed Mar 2, 2015
commit 82c0ca24bd11278d81386530fbcd1f5312e1df1e
2 changes: 1 addition & 1 deletion lib/matplotlib/tests/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def test_image_composite_background():
def test_image_composite_alpha():
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why rename these?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was trying to make things consistent by using combine_images everywhere instead of image_composite.

"""
Tests that the alpha value is recognized and correctly applied in the
process of combining images together.
process of compositing images together.
"""
fig = plt.figure()
ax = fig.add_subplot(111)
Expand Down
2 changes: 1 addition & 1 deletion matplotlibrc.template
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ backend : %(backend)s
#image.origin : upper # lower | upper
#image.resample : False
#image.composite_image : True # When True, all the images on a set of axes are
# combined into a single composite image before
# combined into a single composite image before
# saving a figure as a vector graphics file,
# such as a PDF.

Expand Down