@@ -90,11 +90,6 @@ class _Base:
9090 def update_lim (self , axes ):
9191 pass
9292
93- delta1 = _api .deprecated ("3.6" )(
94- property (lambda self : 0.00001 , lambda self , value : None ))
95- delta2 = _api .deprecated ("3.6" )(
96- property (lambda self : 0.00001 , lambda self , value : None ))
97-
9893 def _to_xy (self , values , const ):
9994 """
10095 Create a (*values.shape, 2)-shape array representing (x, y) pairs.
@@ -323,29 +318,6 @@ def get_gridlines(self, which, axis):
323318 """
324319 return []
325320
326- @_api .deprecated ("3.6" )
327- def new_gridlines (self , ax ):
328- """
329- Create and return a new GridlineCollection instance.
330-
331- *which* : "major" or "minor"
332- *axis* : "both", "x" or "y"
333-
334- """
335- gridlines = GridlinesCollection (
336- None , transform = ax .transData , colors = mpl .rcParams ['grid.color' ],
337- linestyles = mpl .rcParams ['grid.linestyle' ],
338- linewidths = mpl .rcParams ['grid.linewidth' ])
339- ax ._set_artist_props (gridlines )
340- gridlines .set_grid_helper (self )
341-
342- ax .axes ._set_artist_props (gridlines )
343- # gridlines.set_clip_path(self.axes.patch)
344- # set_clip_path need to be deferred after Axes.cla is completed.
345- # It is done inside the cla.
346-
347- return gridlines
348-
349321
350322class GridHelperRectlinear (GridHelperBase ):
351323
@@ -455,21 +427,6 @@ def toggle_axisline(self, b=None):
455427 def axis (self ):
456428 return self ._axislines
457429
458- @_api .deprecated ("3.6" )
459- def new_gridlines (self , grid_helper = None ):
460- """
461- Create and return a new GridlineCollection instance.
462-
463- *which* : "major" or "minor"
464- *axis* : "both", "x" or "y"
465-
466- """
467- if grid_helper is None :
468- grid_helper = self .get_grid_helper ()
469-
470- gridlines = grid_helper .new_gridlines (self )
471- return gridlines
472-
473430 def clear (self ):
474431 # docstring inherited
475432
0 commit comments