@@ -422,18 +422,12 @@ def __call__(self, s):
422422 'legend.isaxes' : [True ,validate_bool ], # this option is internally ignored - it never served any useful purpose
423423 'legend.numpoints' : [2 , validate_int ], # the number of points in the legend line
424424 'legend.fontsize' : ['large' , validate_fontsize ],
425- 'legend.pad' : [0 , validate_float ], # was 0.2, deprecated; the fractional whitespace inside the legend border
426- 'legend.borderpad' : [0.4 , validate_float ], # units are fontsize
427425 'legend.markerscale' : [1.0 , validate_float ], # the relative size of legend markers vs. original
428-
429- # the following dimensions are in axes coords
430- 'legend.labelsep' : [0.010 , validate_float ], # the vertical space between the legend entries
431- 'legend.handlelen' : [0.05 , validate_float ], # the length of the legend lines
432- 'legend.handletextsep' : [0.02 , validate_float ], # the space between the legend line and legend text
433- 'legend.axespad' : [0.02 , validate_float ], # the border between the axes and legend edge
434426 'legend.shadow' : [False , validate_bool ],
435427
436428
429+ # the following dimensions are in fraction of the font size
430+ 'legend.borderpad' : [0.4 , validate_float ], # units are fontsize
437431 'legend.labelspacing' : [0.5 , validate_float ], # the vertical space between the legend entries
438432 'legend.handlelength' : [2. , validate_float ], # the length of the legend lines
439433 'legend.handletextpad' : [.8 , validate_float ], # the space between the legend line and legend text
@@ -443,11 +437,6 @@ def __call__(self, s):
443437
444438 'legend.markerscale' : [1.0 , validate_float ], # the relative size of legend markers vs. original
445439
446- # the following dimensions are in axes coords
447- 'legend.labelsep' : [0.010 , validate_float ], # the vertical space between the legend entries
448- 'legend.handlelen' : [0.05 , validate_float ], # the length of the legend lines
449- 'legend.handletextsep' : [0.02 , validate_float ], # the space between the legend line and legend text
450- 'legend.axespad' : [0.5 , validate_float ], # the border between the axes and legend edge
451440 'legend.shadow' : [False , validate_bool ],
452441
453442
0 commit comments