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

Skip to content

Commit 4207572

Browse files
authored
Merge pull request #7681 from efiring/axes_title_pad
STY: increase axes.titlepad from 4 to 6; closes #7660
2 parents db9b188 + 276c489 commit 4207572

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matplotlib/rcsetup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@ def validate_animation_writer_path(p):
10741074
'axes.titlesize': ['large', validate_fontsize], # fontsize of the
10751075
# axes title
10761076
'axes.titleweight': ['normal', six.text_type], # font weight of axes title
1077-
'axes.titlepad': [4.0, validate_float], # pad from axes top to title in points
1077+
'axes.titlepad': [6.0, validate_float], # pad from axes top to title in points
10781078
'axes.grid': [False, validate_bool], # display grid or not
10791079
'axes.grid.which': ['major', validate_axis_locator], # set wether the gid are by
10801080
# default draw on 'major'

matplotlibrc.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ backend : $TEMPLATE_BACKEND
297297
#axes.linewidth : 0.8 # edge linewidth
298298
#axes.grid : False # display grid or not
299299
#axes.titlesize : large # fontsize of the axes title
300-
#axes.titlepad : 4.0 # pad between axes and title in points
300+
#axes.titlepad : 6.0 # pad between axes and title in points
301301
#axes.labelsize : medium # fontsize of the x any y labels
302302
#axes.labelpad : 4.0 # space between label and axis
303303
#axes.labelweight : normal # weight of the x and y labels

0 commit comments

Comments
 (0)