@@ -320,10 +320,6 @@ def finalize_latex(latex):
320320 self ._expect ("*pgf_backend_query_start" )
321321 self ._expect_prompt ()
322322
323- @_api .deprecated ("3.3" )
324- def latex_stdin_utf8 (self ):
325- return self .latex .stdin
326-
327323 def get_width_height_descent (self , text , prop ):
328324 """
329325 Get the width, total height and descent for a text typeset by the
@@ -387,8 +383,7 @@ def _get_image_inclusion_command():
387383
388384class RendererPgf (RendererBase ):
389385
390- @_api .delete_parameter ("3.3" , "dummy" )
391- def __init__ (self , figure , fh , dummy = False ):
386+ def __init__ (self , figure , fh ):
392387 """
393388 Create a new PGF renderer that translates any drawing instruction
394389 into text commands to be interpreted in a latex pgfpicture environment.
@@ -407,12 +402,6 @@ def __init__(self, figure, fh, dummy=False):
407402 self .figure = figure
408403 self .image_counter = 0
409404
410- if dummy :
411- # dummy==True deactivate all methods
412- for m in RendererPgf .__dict__ :
413- if m .startswith ("draw_" ):
414- self .__dict__ [m ] = lambda * args , ** kwargs : None
415-
416405 def draw_markers (self , gc , marker_path , marker_trans , path , trans ,
417406 rgbFace = None ):
418407 # docstring inherited
@@ -750,11 +739,6 @@ def points_to_pixels(self, points):
750739 return points * mpl_pt_to_in * self .dpi
751740
752741
753- @_api .deprecated ("3.3" , alternative = "GraphicsContextBase" )
754- class GraphicsContextPgf (GraphicsContextBase ):
755- pass
756-
757-
758742@_api .deprecated ("3.4" )
759743class TmpDirCleaner :
760744 _remaining_tmpdirs = set ()
@@ -940,7 +924,6 @@ class PdfPages:
940924 '_info_dict' ,
941925 '_metadata' ,
942926 )
943- metadata = _api .deprecated ('3.3' )(property (lambda self : self ._metadata ))
944927
945928 def __init__ (self , filename , * , keep_empty = True , metadata = None ):
946929 """
0 commit comments