Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76ee1fa commit 9884f03Copy full SHA for 9884f03
1 file changed
lib/matplotlib/testing/decorators.py
@@ -88,7 +88,7 @@ def compare_images_generator():
88
orig_expected_fnames = [os.path.join(baseline_dir,fname) + '.' + extension for fname in baseline_images]
89
expected_fnames = [os.path.join(result_dir,'expected-'+fname) + '.' + extension for fname in baseline_images]
90
actual_fnames = [os.path.join(result_dir, fname) + '.' + extension for fname in baseline_images]
91
- have_baseline_images = [os.path.exists(expected) for expected in expected_fnames]
+ have_baseline_images = [os.path.exists(expected) for expected in orig_expected_fnames]
92
have_baseline_image = np.all(have_baseline_images)
93
is_comparable = extension in comparable_formats()
94
if not is_comparable:
0 commit comments