@@ -54,6 +54,7 @@ def points_to_pixels(self, points):
5454 """
5555 return points
5656
57+
5758 def get_text_extent (self , text ):
5859 """
5960 Get the text extent in window coords
@@ -91,6 +92,27 @@ def draw_line(self, gc, x1, y1, x2, y2):
9192 """
9293 pass # derived must override
9394
95+ def _draw_marker (self , gc , path , x , y , trans ):
96+ """
97+ This method is currently uncderscore hidden because the
98+ draw_markers method is being used as a sentinel for newstyle
99+ backend drawing
100+
101+ Draw the marker specified in path with graphics context gx at
102+ each of the locations in arrays x and y. trans is a
103+ matplotlib.transforms.Transformation instance used to
104+ transform x and y to display coords. It consists of an
105+ optional ) nonlinear component and an affine. You can access
106+ these two components as
107+
108+ if transform.need_nonlinear():
109+ x,y = transform.nonlinear_only_numerix(x, y)
110+ # the a,b,c,d,tx,ty affine which transforms x and y
111+ vec6 = transform.as_vec6_val()
112+ ...backend dependent affine...
113+ """
114+ pass
115+
94116 def draw_poly_collection (
95117 self , verts , transform , clipbox , facecolors , edgecolors ,
96118 linewidths , antialiaseds , offsets , transOffset ):
0 commit comments