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

Commit33e34c3

Browse files
committed
fix: correctly format the document class
1 parentc1bceea commit33e34c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/backends/backend_pgf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ def print_pdf(self, fname_or_fh, *, metadata=None, **kwargs):
832832
self.print_pgf(tmppath/"figure.pgf",**kwargs)
833833
(tmppath/"figure.tex").write_text(
834834
"\n".join([
835-
r"\documentclass{{{docclass}}}"
835+
rf"\documentclass{{{docclass}}}"
836836
r"\usepackage[pdfinfo={%s}]{hyperref}"%pdfinfo,
837837
r"\usepackage[papersize={%fin,%fin}, margin=0in]{geometry}"
838838
% (w,h),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp