@@ -279,18 +279,6 @@ def validate_toolbar(s):
279279 return validator (s )
280280
281281
282- def validate_maskedarray (v ):
283- # 2008/12/12: start warning; later, remove all traces of maskedarray
284- try :
285- if v == 'obsolete' :
286- return v
287- except ValueError :
288- pass
289- warnings .warn ('rcParams key "maskedarray" is obsolete and has no effect;\n '
290- ' please delete it from your matplotlibrc file' ,
291- mplDeprecation )
292-
293-
294282_seq_err_msg = ('You must supply exactly {n} values, you provided {num} '
295283 'values: {s}' )
296284
@@ -492,13 +480,6 @@ def validate_whiskers(s):
492480 "(float, float)]" )
493481
494482
495- def deprecate_savefig_extension (value ):
496- warnings .warn ("savefig.extension is deprecated. Use savefig.format "
497- "instead. Will be removed in 1.4.x" ,
498- mplDeprecation )
499- return value
500-
501-
502483def update_savefig_format (value ):
503484 # The old savefig.extension could also have a value of "auto", but
504485 # the new savefig.format does not. We need to fix this here.
@@ -576,12 +557,6 @@ def validate_corner_mask(s):
576557 return validate_bool (s )
577558
578559
579- def validate_tkpythoninspect (s ):
580- # Introduced 2010/07/05
581- warnings .warn ("tk.pythoninspect is obsolete, and has no effect" ,
582- mplDeprecation )
583- return validate_bool (s )
584-
585560validate_legend_loc = ValidateInStrings (
586561 'legend_loc' ,
587562 ['best' ,
@@ -1330,8 +1305,6 @@ def _validate_linestyle(ls):
13301305 'savefig.orientation' : ['portrait' , validate_orientation ], # edgecolor;
13311306 #white
13321307 'savefig.jpeg_quality' : [95 , validate_int ],
1333- # what to add to extensionless filenames
1334- 'savefig.extension' : ['png' , deprecate_savefig_extension ],
13351308 # value checked by backend at runtime
13361309 'savefig.format' : ['png' , update_savefig_format ],
13371310 # options are 'tight', or 'standard'. 'standard' validates to None.
@@ -1343,7 +1316,6 @@ def _validate_linestyle(ls):
13431316
13441317 # Maintain shell focus for TkAgg
13451318 'tk.window_focus' : [False , validate_bool ],
1346- 'tk.pythoninspect' : [False , validate_tkpythoninspect ], # obsolete
13471319
13481320 # Set the papersize/type
13491321 'ps.papersize' : ['letter' , validate_ps_papersize ],
0 commit comments