5,332
edits
(→Usage) |
|||
Line 15: | Line 15: | ||
<syntaxhighlight lang="python"> | <syntaxhighlight lang="python"> | ||
f, ax = plt.subplots(figsize=(5, 3)) | f, ax = plt.subplots(figsize=(5, 3)) | ||
# or | |||
plt.figure(figsize=(5, 3)) | plt.figure(figsize=(5, 3)) | ||
plt.tight_layout() | plt.tight_layout() |