@@ -466,9 +466,9 @@ def validate_int(s):
466466
467467def validate_backend (s , fail_on_err = True ):
468468 s = s .lower ()
469- backends = ['Agg2' , 'Agg' , 'Aqt' , 'Cairo' , 'CocoaAgg' , 'EMF' , 'GD' , 'GDK' , 'GTK' ,
470- 'GTKAgg' , 'GTKCairo' , 'FltkAgg' , 'Paint' , 'Pdf' , 'PS' , 'QtAgg' , 'SVG ' ,
471- 'Template' , 'TkAgg' , 'WX' , 'WXAgg' , ]
469+ backends = ['Agg2' , 'Agg' , 'Aqt' , 'Cairo' , 'CocoaAgg' , 'EMF' , 'GD' , 'GDK' ,
470+ 'GTK' , ' GTKAgg' , 'GTKCairo' , 'FltkAgg' , 'Paint' , 'Pdf' , 'PS' ,
471+ 'QtAgg' , 'Qt4Agg' , 'SVG' , ' Template' , 'TkAgg' , 'WX' , 'WXAgg' ]
472472 for i in backends :
473473 if s == i .lower (): return i
474474 if fail_on_err : raise ValueError ('Backend must be %s, or %s' % \
@@ -797,16 +797,19 @@ def __call__(self, s):
797797 'polaraxes.grid' : [True , validate_bool ], # display polar grid or not
798798
799799 #legend properties
800- 'legend.isaxes' : [True ,validate_bool ],
801- 'legend.numpoints' : [ 4 ,validate_int ], # the number of points in the legend line
800+ 'legend.isaxes' : [True ,validate_bool ],
801+ 'legend.numpoints' : [ 4 ,validate_int ], # the number of points in the legend line
802802 'legend.fontsize' : ["small" ,validate_fontsize ],
803- 'legend.pad' : [ 0.2 , validate_float ], # the fractional whitespace inside the legend border
804- 'legend.markerscale' : [ 0.6 , validate_float ], # the relative size of legend markers vs. original
803+ 'legend.pad' : [ 0.2 , validate_float ], # the fractional whitespace inside the legend border
804+ 'legend.markerscale' : [ 0.6 , validate_float ], # the relative size of legend markers vs. original
805+
806+
805807 # the following dimensions are in axes coords
806- 'legend.labelsep' : [ 0.005 , validate_float ], # the vertical space between the legend entries
807- 'legend.handlelen' : [ 0.05 , validate_float ], # the length of the legend lines
808- 'legend.handletextsep' : [ 0.02 , validate_float ], # the space between the legend line and legend text
809- 'legend.axespad' : [ 0.02 , validate_float ], # the border between the axes and legend edge
808+ 'legend.labelsep' : [ 0.005 , validate_float ], # the vertical space between the legend entries
809+ 'legend.handlelen' : [ 0.05 , validate_float ], # the length of the legend lines
810+ 'legend.handletextsep' : [ 0.02 , validate_float ], # the space between the legend line and legend text
811+ 'legend.axespad' : [ 0.02 , validate_float ], # the border between the axes and legend edge
812+
810813 'legend.shadow' : [ False , validate_bool ],
811814
812815
0 commit comments