2525import matplotlib .patches as mpatches
2626import matplotlib .texmanager as texmanager
2727import matplotlib .transforms as mtransforms
28- from matplotlib .cbook import mplDeprecation
2928
3029# Import needed for adding manual selection capability to clabel
3130from matplotlib .blocking_input import BlockingContourLabeler
@@ -1172,20 +1171,6 @@ def _contour_level_args(self, z, args):
11721171 if len (self .levels ) > 1 and np .min (np .diff (self .levels )) <= 0.0 :
11731172 raise ValueError ("Contour levels must be increasing" )
11741173
1175- @property
1176- def vmin (self ):
1177- warnings .warn ("vmin is deprecated and will be removed in 2.2 "
1178- "and not replaced." ,
1179- mplDeprecation )
1180- return getattr (self , '_vmin' , None )
1181-
1182- @property
1183- def vmax (self ):
1184- warnings .warn ("vmax is deprecated and will be removed in 2.2 "
1185- "and not replaced." ,
1186- mplDeprecation )
1187- return getattr (self , '_vmax' , None )
1188-
11891174 def _process_levels (self ):
11901175 """
11911176 Assign values to :attr:`layers` based on :attr:`levels`,
@@ -1195,10 +1180,6 @@ def _process_levels(self):
11951180 a line is a thin layer. No extended levels are needed
11961181 with line contours.
11971182 """
1198- # following are deprecated and will be removed in 2.2
1199- self ._vmin = np .min (self .levels )
1200- self ._vmax = np .max (self .levels )
1201-
12021183 # Make a private _levels to include extended regions; we
12031184 # want to leave the original levels attribute unchanged.
12041185 # (Colorbar needs this even for line contours.)
0 commit comments