Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1198a28

Browse files
authored
Merge pull request #21265 from meeseeksmachine/auto-backport-of-pr-21264-on-v3.5.x
Backport PR #21264 on branch v3.5.x (DOC: Fix footnote that breaks PDF builds)
2 parents 3fded8d + 609cdd0 commit 1198a28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/subplots_axes_and_figures/figure_size_units.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@
5656
# tedious for quick iterations.
5757
#
5858
# Because of the default ``rcParams['figure.dpi'] = 100``, one can mentally
59-
# divide the needed pixel value by 100 [*]_:
59+
# divide the needed pixel value by 100 [#]_:
6060
#
6161
plt.subplots(figsize=(6, 2))
6262
plt.text(0.5, 0.5, '600px x 200px', **text_kwargs)
6363
plt.show()
6464

6565
#############################################################################
66-
# .. [*] Unfortunately, this does not work well for the ``matplotlib inline``
67-
# backend in jupyter because that backend uses a different default of
66+
# .. [#] Unfortunately, this does not work well for the ``matplotlib inline``
67+
# backend in Jupyter because that backend uses a different default of
6868
# ``rcParams['figure.dpi'] = 72``. Additionally, it saves the figure
6969
# with ``bbox_inches='tight'``, which crops the figure and makes the
7070
# actual size unpredictable.

0 commit comments

Comments
 (0)