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

Skip to content

Commit 7511459

Browse files
committed
Fix many of the regression tests.
1. Fix a recently-introduced bug in the pixel-snapping code affecting the Agg backend. 2. Refresh many of the PNG baseline images to account for more accurate text placement and different versions of freetype. 3. Restore some accidentally-deleted SVG baseline images. 4. Turn of eps regression testing for now as it seems to break on my recently-updated copy of Ghostscript.
1 parent 4152651 commit 7511459

646 files changed

Lines changed: 47391 additions & 2 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

lib/matplotlib/testing/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def image_comparison(baseline_images=None, extensions=None, tol=1e-3):
153153

154154
if extensions is None:
155155
# default extensions to test
156-
extensions = ['png', 'pdf', 'svg', 'eps']
156+
extensions = ['png', 'pdf', 'svg']
157157

158158
def compare_images_decorator(func):
159159
# We want to run the setup function (the actual test function
-50 Bytes
56 Bytes
174 Bytes
256 Bytes
60 Bytes
-43 Bytes
-3 Bytes
33 Bytes
172 Bytes

0 commit comments

Comments
 (0)