File tree 1 file changed +9
-10
lines changed 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -152,18 +152,17 @@ def example_plot(ax, fontsize=12):
152
152
# Caveats
153
153
# =======
154
154
#
155
- # * :func: `~matplotlib.pyplot.tight_layout` by default considers all artists
156
- # on the axes . To remove an artist from the layout calculation you can call
157
- # `~ .Artist.set_in_layout`.
155
+ # * `~matplotlib.pyplot.tight_layout` considers all artists on the axes by
156
+ # default . To remove an artist from the layout calculation you can call
157
+ # ` .Artist.set_in_layout`.
158
158
#
159
- # * It assumes that the extra space needed for artists is independent of
160
- # original location of axes. This is often true, but there are rare cases
161
- # where it is not.
159
+ # * ``tight_layout`` assumes that the extra space needed for artists is
160
+ # independent of the original location of axes. This is often true, but there
161
+ # are rare cases where it is not.
162
162
#
163
- # * pad=0 clips some of the texts by a few pixels. This may be a bug or
164
- # a limitation of the current algorithm and it is not clear why it
165
- # happens. Meanwhile, use of pad at least larger than 0.3 is
166
- # recommended.
163
+ # * ``pad=0`` can clip some texts by a few pixels. This may be a bug or
164
+ # a limitation of the current algorithm and it is not clear why it
165
+ # happens. Meanwhile, use of pad larger than 0.3 is recommended.
167
166
#
168
167
# Use with GridSpec
169
168
# =================
You can’t perform that action at this time.
0 commit comments