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

Appearance settings

Commit 2c7594e

Browse filesBrowse files
committed
FIX: move title verticalalignment to bottom from baseline
1 parent 30aa17c commit 2c7594e
Copy full SHA for 2c7594e

File tree

Expand file treeCollapse file tree

4 files changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+4
-4
lines changed

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

Copy file name to clipboardExpand all lines: lib/matplotlib/mpl-data/stylelib/_classic_test.mplstyle
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ axes.grid : False # display grid or not
174174
axes.grid.which : major
175175
axes.grid.axis : both
176176
axes.titlesize : large # fontsize of the axes title
177-
axes.titlepad : 5.0 # pad between axes and title in points
177+
axes.titlepad : 1.48 # pad between axes and title in points
178178
axes.titleweight : normal # font weight for axes title
179179
axes.labelsize : medium # fontsize of the x any y labels
180180
axes.labelpad : 5.0 # space between label and axis

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

Copy file name to clipboardExpand all lines: lib/matplotlib/mpl-data/stylelib/classic.mplstyle
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ axes.grid : False # display grid or not
176176
axes.grid.which : major
177177
axes.grid.axis : both
178178
axes.titlesize : large # fontsize of the axes title
179-
axes.titlepad : 5.0 # pad between axes and title in points
179+
axes.titlepad : 1.48 # pad between axes and title in points
180180
axes.titleweight : normal # font weight for axes title
181181
axes.labelsize : medium # fontsize of the x any y labels
182182
axes.labelpad : 5.0 # space between label and axis

‎lib/matplotlib/rcsetup.py

Copy file name to clipboardExpand all lines: lib/matplotlib/rcsetup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ def _validate_linestyle(ls):
11491149
'axes.titlesize': ['large', validate_fontsize], # fontsize of the
11501150
# axes title
11511151
'axes.titleweight': ['normal', validate_string], # font weight of axes title
1152-
'axes.titlepad': [3.0, validate_float], # pad from axes top to title in points
1152+
'axes.titlepad': [2.48, validate_float], # pad from axes top to title in points
11531153
'axes.grid': [False, validate_bool], # display grid or not
11541154
'axes.grid.which': ['major', validate_axis_locator], # set whether the gid are by
11551155
# default draw on 'major'

‎matplotlibrc.template

Copy file name to clipboardExpand all lines: matplotlibrc.template
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ backend : $TEMPLATE_BACKEND
290290
#axes.grid.which : major ## gridlines at major, minor or both ticks
291291
#axes.titlesize : large ## fontsize of the axes title
292292
#axes.titleweight : normal ## font weight of title
293-
#axes.titlepad : 3.0 ## pad between axes and title in points
293+
#axes.titlepad : 3.48 ## pad between axes and title in points
294294
#axes.labelsize : medium ## fontsize of the x any y labels
295295
#axes.labelpad : 4.0 ## space between label and axis
296296
#axes.labelweight : normal ## weight of the x and y labels

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.