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

Commitb86ebba

Browse files
DOC: update/fix autoscaling documentation (#25656)
* Update autoscaling documentation* Update galleries/users_explain/axes/autoscale.pyCo-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>* wrapped text to ensure lint checks passed---------Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent2aeb227 commitb86ebba

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎galleries/users_explain/axes/autoscale.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,15 @@
2929
# %%
3030
# Margins
3131
# -------
32-
# The default margin around the data limits is 5%:
32+
# The default margin around the data limits is 5%, which is based on the
33+
# default configuration setting of :rc:`axes.xmargin`, :rc:`axes.ymargin`,
34+
# and :rc:`axes.zmargin`:
3335

3436
print(ax.margins())
3537

3638
# %%
37-
# The margins can be made larger using `~matplotlib.axes.Axes.margins`:
39+
# The margin size can be overridden to make them smaller or larger using
40+
# `~matplotlib.axes.Axes.margins`:
3841

3942
fig,ax=plt.subplots()
4043
ax.plot(x,y)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp