Skip to content

Commit 9049567

Browse files
committed
Update README re. width_frac
1 parent 3128faf commit 9049567

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ The argument `width=\linewidth` is **crucial**! Also, do not specify the `height
8686
option! Otherwise, your plot is distorted. (All measurements have been done in
8787
`pub-ready-plots`.)
8888

89+
If you set the `width_frac` argument when you call `prp.get_context()`, you need
90+
to put the same scaling factor in your LaTeX code. E.g., if you call
91+
`prp.get_context(..., width_frac=0.5, ...)`, then you include it via
92+
`\includegraphics[width=0.5\linewidth]{...}`.
93+
8994
> [!WARNING]
9095
> If you want to have multiple subplots in a single figure in your paper,
9196
> **DO NOT** create multiple pdf files! Instead, follow

0 commit comments

Comments
 (0)