Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/matplotlib/axes/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ def cla(self):
)

self.titleOffsetTrans = mtransforms.ScaledTranslation(
0.0, 5.0 / 72.0, self.figure.dpi_scale_trans)
0.0, 9.0 / 72.0, self.figure.dpi_scale_trans)
self.title = mtext.Text(
x=0.5, y=1.0, text='',
fontproperties=props,
Expand Down
8 changes: 4 additions & 4 deletions lib/matplotlib/rcsetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -1129,13 +1129,13 @@ def validate_hist_bins(s):
'figure.autolayout': [False, validate_bool],
'figure.max_open_warning': [20, validate_int],

'figure.subplot.left': [0.125, ValidateInterval(0, 1, closedmin=True,
'figure.subplot.left': [0.155, ValidateInterval(0, 1, closedmin=True,
closedmax=True)],
'figure.subplot.right': [0.9, ValidateInterval(0, 1, closedmin=True,
'figure.subplot.right': [0.87, ValidateInterval(0, 1, closedmin=True,
closedmax=True)],
'figure.subplot.bottom': [0.1, ValidateInterval(0, 1, closedmin=True,
'figure.subplot.bottom': [0.13, ValidateInterval(0, 1, closedmin=True,
closedmax=True)],
'figure.subplot.top': [0.9, ValidateInterval(0, 1, closedmin=True,
'figure.subplot.top': [0.87, ValidateInterval(0, 1, closedmin=True,
closedmax=True)],
'figure.subplot.wspace': [0.2, ValidateInterval(0, 1, closedmin=True,
closedmax=False)],
Expand Down
8 changes: 4 additions & 4 deletions matplotlibrc.template
Original file line number Diff line number Diff line change
Expand Up @@ -427,10 +427,10 @@ backend : $TEMPLATE_BACKEND

# The figure subplot parameters. All dimensions are a fraction of the
# figure width or height
#figure.subplot.left : 0.125 # the left side of the subplots of the figure
#figure.subplot.right : 0.9 # the right side of the subplots of the figure
#figure.subplot.bottom : 0.1 # the bottom of the subplots of the figure
#figure.subplot.top : 0.9 # the top of the subplots of the figure
#figure.subplot.left : 0.155 # the left side of the subplots of the figure
#figure.subplot.right : 0.87 # the right side of the subplots of the figure
#figure.subplot.bottom : 0.13 # the bottom of the subplots of the figure
#figure.subplot.top : 0.87 # the top of the subplots of the figure
#figure.subplot.wspace : 0.2 # the amount of width reserved for blank space between subplots
#figure.subplot.hspace : 0.2 # the amount of height reserved for white space between subplots

Expand Down