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.
2 parents c080824 + 8e43c9b commit 1c93e76Copy full SHA for 1c93e76
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