@@ -347,8 +347,8 @@ def __call__(self, s):
347
347
defaultParams = {
348
348
'backend' : ['Agg' , validate_backend ], # agg is certainly present
349
349
'backend_fallback' : [True , validate_bool ], # agg is certainly present
350
- 'numerix' : ['obsolete' , validate_numerix ],
351
- 'maskedarray' : ['obsolete' , validate_maskedarray ], #to be removed
350
+ # 'numerix' : ['obsolete', validate_numerix],
351
+ # 'maskedarray' : ['obsolete', validate_maskedarray], #to be removed
352
352
'toolbar' : ['toolbar2' , validate_toolbar ],
353
353
'datapath' : [None , validate_path_exists ], # handled by _get_data_path_cached
354
354
'units' : [False , validate_bool ],
@@ -385,7 +385,7 @@ def __call__(self, s):
385
385
'font.variant' : ['normal' , str ], #
386
386
'font.stretch' : ['normal' , str ], #
387
387
'font.weight' : ['normal' , str ], #
388
- 'font.size' : [12.0 , validate_float ], #
388
+ 'font.size' : [12 , validate_float ], # Base font size in points
389
389
'font.serif' : [['Bitstream Vera Serif' , 'DejaVu Serif' ,
390
390
'New Century Schoolbook' , 'Century Schoolbook L' ,
391
391
'Utopia' , 'ITC Bookman' , 'Bookman' ,
@@ -412,13 +412,16 @@ def __call__(self, s):
412
412
'text.latex.preamble' : [['' ], validate_stringlist ],
413
413
'text.latex.preview' : [False , validate_bool ],
414
414
'text.dvipnghack' : [None , validate_bool_maybe_none ],
415
- 'text.fontstyle' : ['normal' , str ],
416
- 'text.fontangle' : ['normal' , str ],
417
- 'text.fontvariant' : ['normal' , str ],
418
- 'text.fontweight' : ['normal' , str ],
419
- 'text.fontsize' : ['medium' , validate_fontsize ],
420
415
'text.hinting' : [True , validate_bool ],
421
416
417
+ # The following are deprecated and replaced by, e.g., 'font.style'
418
+ #'text.fontstyle' : ['normal', str],
419
+ #'text.fontangle' : ['normal', str],
420
+ #'text.fontvariant' : ['normal', str],
421
+ #'text.fontweight' : ['normal', str],
422
+ #'text.fontsize' : ['medium', validate_fontsize],
423
+
424
+
422
425
'mathtext.cal' : ['cursive' , validate_font_properties ],
423
426
'mathtext.rm' : ['serif' , validate_font_properties ],
424
427
'mathtext.tt' : ['monospace' , validate_font_properties ],
@@ -483,9 +486,6 @@ def __call__(self, s):
483
486
484
487
'legend.shadow' : [False , validate_bool ],
485
488
486
-
487
-
488
-
489
489
# tick properties
490
490
'xtick.major.size' : [4 , validate_float ], # major xtick size in points
491
491
'xtick.minor.size' : [2 , validate_float ], # minor xtick size in points
0 commit comments