@@ -397,13 +397,6 @@ def validate_color(s):
397397 raise ValueError ('%s does not look like a color arg%s' % (s , msg ))
398398
399399
400- def deprecate_axes_colorcycle (value ):
401- warnings .warn ("axes.color_cycle is deprecated. Use axes.prop_cycle "
402- "instead. Will be removed in 2.1.0" ,
403- mplDeprecation )
404- return validate_colorlist (value )
405-
406-
407400validate_colorlist = _listify_validator (validate_color , allow_stringlist = True )
408401validate_colorlist .__doc__ = 'return a list of colorspecs'
409402
@@ -577,18 +570,6 @@ def validate_corner_mask(s):
577570 'center' ], ignorecase = True )
578571
579572
580- def deprecate_svg_image_noscale (value ):
581- warnings .warn ("svg.image_noscale is deprecated. Set "
582- "image.interpolation to 'none' instead." ,
583- mplDeprecation )
584-
585-
586- def deprecate_svg_embed_char_paths (value ):
587- warnings .warn ("svg.embed_char_paths is deprecated. Use "
588- "svg.fonttype instead." ,
589- mplDeprecation )
590-
591-
592573validate_svg_fonttype = ValidateInStrings ('svg.fonttype' ,
593574 ['none' , 'path' , 'svgfont' ])
594575
@@ -1160,12 +1141,6 @@ def _validate_linestyle(ls):
11601141 'axes.formatter.useoffset' : [True , validate_bool ],
11611142 'axes.formatter.offset_threshold' : [4 , validate_int ],
11621143 'axes.unicode_minus' : [True , validate_bool ],
1163- 'axes.color_cycle' : [
1164- ['#1f77b4' , '#ff7f0e' , '#2ca02c' , '#d62728' ,
1165- '#9467bd' , '#8c564b' , '#e377c2' , '#7f7f7f' ,
1166- '#bcbd22' , '#17becf' ],
1167- deprecate_axes_colorcycle ], # cycle of plot
1168- # line colors
11691144 # This entry can be either a cycler object or a
11701145 # string repr of a cycler-object, which gets eval()'ed
11711146 # to create the object.
@@ -1356,10 +1331,7 @@ def _validate_linestyle(ls):
13561331
13571332 # write raster image data directly into the svg file
13581333 'svg.image_inline' : [True , validate_bool ],
1359- # suppress scaling of raster data embedded in SVG
1360- 'svg.image_noscale' : [False , deprecate_svg_image_noscale ],
13611334 # True to save all characters as paths in the SVG
1362- 'svg.embed_char_paths' : [True , deprecate_svg_embed_char_paths ],
13631335 'svg.fonttype' : ['path' , validate_svg_fonttype ],
13641336 'svg.hashsalt' : [None , validate_string_or_None ],
13651337
0 commit comments