File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Original file line number Diff line number Diff line change @@ -71,15 +71,15 @@ def auto_adjust_subplotpars(fig, renderer,
71
71
72
72
rows , cols = nrows_ncols
73
73
74
- pad_inches = pad * FontProperties (size = rcParams ["font.size" ]).get_size_in_points () / renderer . dpi
74
+ pad_inches = pad * FontProperties (size = rcParams ["font.size" ]).get_size_in_points () / 72.
75
75
76
76
if h_pad is not None :
77
- vpad_inches = h_pad * FontProperties (size = rcParams ["font.size" ]).get_size_in_points () / renderer . dpi
77
+ vpad_inches = h_pad * FontProperties (size = rcParams ["font.size" ]).get_size_in_points () / 72.
78
78
else :
79
79
vpad_inches = pad_inches
80
80
81
81
if w_pad is not None :
82
- hpad_inches = w_pad * FontProperties (size = rcParams ["font.size" ]).get_size_in_points () / renderer . dpi
82
+ hpad_inches = w_pad * FontProperties (size = rcParams ["font.size" ]).get_size_in_points () / 72.
83
83
else :
84
84
hpad_inches = pad_inches
85
85
You can’t perform that action at this time.
0 commit comments