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

Commit2303df6

Browse files
committed
Merge pull request#6544 from anntzer/margins-typo
Fix typo in margins handling.
2 parents0ac187d +655f5ae commit2303df6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/axes/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2250,7 +2250,7 @@ def handle_single_axis(scale, autoscaleon, shared_axes, interval,
22502250
x0,x1=mtransforms.nonsingular(
22512251
x0,x1,increasing=False,expander=0.05)
22522252

2253-
if(margin>0anddo_lower_marginordo_upper_margin):
2253+
ifmargin>0and(do_lower_marginordo_upper_margin):
22542254
ifaxis.get_scale()=='linear':
22552255
delta= (x1-x0)*margin
22562256
ifdo_lower_margin:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp