Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitda9ea78

Browse files
committed
Test empty documentclass
1 parent38a04a7 commitda9ea78

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎lib/matplotlib/tests/test_backend_pgf.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,3 +456,11 @@ def test_preamble_packages(format, tmp_path):
456456
path=os.path.join(tmp_path,f'preamble_packages_{format}.pdf')
457457
withPdfPages(path)aspdf:
458458
pdf.savefig(plt.figure())
459+
460+
461+
# test empty documentclass
462+
@needs_pgf_xelatex
463+
@pytest.mark.backend('pgf')
464+
deftest_documentclass():
465+
mpl.rcParams['pgf.documentclass']=''
466+
plt.figure().savefig(BytesIO())

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp