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 c080824 commit 8e43c9bCopy full SHA for 8e43c9b
1 file changed
lib/matplotlib/testing/compare.py
@@ -262,7 +262,7 @@ def convert(filename, cache):
262
if path.suffix[1:] not in converter:
263
import pytest
264
pytest.skip(f"Don't know how to convert {path.suffix} files to png")
265
- newpath = path.parent / f"{path.stem}_{path.suffix}.png"
+ newpath = path.parent / f"{path.stem}_{path.suffix[1:]}.png"
266
267
# Only convert the file if the destination doesn't already exist or
268
# is out of date.
0 commit comments