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

Skip to content

Commit a6b053c

Browse files
committed
Unify "blank space" and "white space" to "space".
Note that there are many usages of "whitespace" elsewhere that are left unchanged, as I believe they generally make sentences clearer.
1 parent c96014f commit a6b053c

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

doc/faq/howto_faq.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@ The other parameters you can configure are, with their defaults
171171
*top* = 0.9
172172
the top of the subplots of the figure
173173
*wspace* = 0.2
174-
the amount of width reserved for blank space between subplots,
174+
the amount of width reserved for space between subplots,
175175
expressed as a fraction of the average axis width
176176
*hspace* = 0.2
177-
the amount of height reserved for white space between subplots,
177+
the amount of height reserved for space between subplots,
178178
expressed as a fraction of the average axis height
179179

180180
If you want additional control, you can create an

lib/matplotlib/figure.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,11 @@ def __init__(self, left=None, bottom=None, right=None, top=None,
193193
The top of the subplots of the figure
194194
195195
wspace : 0.2
196-
The amount of width reserved for blank space between subplots,
196+
The amount of width reserved for space between subplots,
197197
expressed as a fraction of the average axis width
198198
199199
hspace : 0.2
200-
The amount of height reserved for white space between subplots,
200+
The amount of height reserved for space between subplots,
201201
expressed as a fraction of the average axis height
202202
"""
203203

lib/matplotlib/mpl-data/stylelib/_classic_test.mplstyle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,9 @@ figure.subplot.left : 0.125 # the left side of the subplots of the figure
313313
figure.subplot.right : 0.9 # the right side of the subplots of the figure
314314
figure.subplot.bottom : 0.1 # the bottom of the subplots of the figure
315315
figure.subplot.top : 0.9 # the top of the subplots of the figure
316-
figure.subplot.wspace : 0.2 # the amount of width reserved for blank space between subplots,
316+
figure.subplot.wspace : 0.2 # the amount of width reserved for space between subplots,
317317
# expressed as a fraction of the average axis width
318-
figure.subplot.hspace : 0.2 # the amount of height reserved for white space between subplots,
318+
figure.subplot.hspace : 0.2 # the amount of height reserved for space between subplots,
319319
# expressed as a fraction of the average axis height
320320

321321
### IMAGES

lib/matplotlib/mpl-data/stylelib/classic.mplstyle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,9 +315,9 @@ figure.subplot.left : 0.125 # the left side of the subplots of the figure
315315
figure.subplot.right : 0.9 # the right side of the subplots of the figure
316316
figure.subplot.bottom : 0.1 # the bottom of the subplots of the figure
317317
figure.subplot.top : 0.9 # the top of the subplots of the figure
318-
figure.subplot.wspace : 0.2 # the amount of width reserved for blank space between subplots,
318+
figure.subplot.wspace : 0.2 # the amount of width reserved for space between subplots,
319319
# expressed as a fraction of the average axis width
320-
figure.subplot.hspace : 0.2 # the amount of height reserved for white space between subplots,
320+
figure.subplot.hspace : 0.2 # the amount of height reserved for space between subplots,
321321
# expressed as a fraction of the average axis height
322322

323323
### IMAGES

lib/matplotlib/pyplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,9 +1309,9 @@ def subplots_adjust(*args, **kwargs):
13091309
right = 0.9 # the right side of the subplots of the figure
13101310
bottom = 0.1 # the bottom of the subplots of the figure
13111311
top = 0.9 # the top of the subplots of the figure
1312-
wspace = 0.2 # the amount of width reserved for blank space between subplots,
1312+
wspace = 0.2 # the amount of width reserved for space between subplots,
13131313
# expressed as a fraction of the average axis width
1314-
hspace = 0.2 # the amount of height reserved for white space between subplots,
1314+
hspace = 0.2 # the amount of height reserved for space between subplots,
13151315
# expressed as a fraction of the average axis height
13161316
13171317
The actual defaults are controlled by the rc file

matplotlibrc.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,9 +442,9 @@ backend : $TEMPLATE_BACKEND
442442
#figure.subplot.right : 0.9 # the right side of the subplots of the figure
443443
#figure.subplot.bottom : 0.11 # the bottom of the subplots of the figure
444444
#figure.subplot.top : 0.88 # the top of the subplots of the figure
445-
#figure.subplot.wspace : 0.2 # the amount of width reserved for blank space between subplots,
445+
#figure.subplot.wspace : 0.2 # the amount of width reserved for space between subplots,
446446
# expressed as a fraction of the average axis width
447-
#figure.subplot.hspace : 0.2 # the amount of height reserved for white space between subplots,
447+
#figure.subplot.hspace : 0.2 # the amount of height reserved for space between subplots,
448448
# expressed as a fraction of the average axis height
449449

450450

0 commit comments

Comments
 (0)