@@ -279,18 +279,6 @@ def validate_toolbar(s):
279
279
return validator (s )
280
280
281
281
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
-
294
282
_seq_err_msg = ('You must supply exactly {n} values, you provided {num} '
295
283
'values: {s}' )
296
284
@@ -492,13 +480,6 @@ def validate_whiskers(s):
492
480
"(float, float)]" )
493
481
494
482
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
-
502
483
def update_savefig_format (value ):
503
484
# The old savefig.extension could also have a value of "auto", but
504
485
# the new savefig.format does not. We need to fix this here.
@@ -576,12 +557,6 @@ def validate_corner_mask(s):
576
557
return validate_bool (s )
577
558
578
559
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
-
585
560
validate_legend_loc = ValidateInStrings (
586
561
'legend_loc' ,
587
562
['best' ,
@@ -1330,8 +1305,6 @@ def _validate_linestyle(ls):
1330
1305
'savefig.orientation' : ['portrait' , validate_orientation ], # edgecolor;
1331
1306
#white
1332
1307
'savefig.jpeg_quality' : [95 , validate_int ],
1333
- # what to add to extensionless filenames
1334
- 'savefig.extension' : ['png' , deprecate_savefig_extension ],
1335
1308
# value checked by backend at runtime
1336
1309
'savefig.format' : ['png' , update_savefig_format ],
1337
1310
# options are 'tight', or 'standard'. 'standard' validates to None.
@@ -1343,7 +1316,6 @@ def _validate_linestyle(ls):
1343
1316
1344
1317
# Maintain shell focus for TkAgg
1345
1318
'tk.window_focus' : [False , validate_bool ],
1346
- 'tk.pythoninspect' : [False , validate_tkpythoninspect ], # obsolete
1347
1319
1348
1320
# Set the papersize/type
1349
1321
'ps.papersize' : ['letter' , validate_ps_papersize ],
0 commit comments