lib/matplotlib/text.py
def _draw_bbox(self, renderer, posx, posy):

        """ Update the location and the size of the bbox
        (FancyBoxPatch), and draw
        """

        x_box, y_box, w_box, h_box = _get_textbox(self, renderer)
        self._bbox_patch.set_bounds(0., 0.,
                                    w_box, h_box)
        theta = self.get_rotation()/180.*math.pi
        tr = mtransforms.Affine2D().rotate(theta)
        tr = tr.translate(posx+x_box, posy+y_box)
        self._bbox_patch.set_transform(tr)
        fontsize_in_pixel = renderer.points_to_pixels(self.get_size())
        self._bbox_patch.set_mutation_scale(fontsize_in_pixel)
        self._bbox_patch.draw(renderer)
 Update the location and the size of the bbox
        (FancyBoxPatch), and draw
        
Update the location and the size of the bbox
(FancyBoxPatch), and draw
Update the location and the size of the bbox ( FancyBoxPatch ) and draw
def _draw_bbox(self, renderer, posx, posy):
        x_box, y_box, w_box, h_box = _get_textbox(self, renderer)
        self._bbox_patch.set_bounds(0., 0.,
                                    w_box, h_box)
        theta = self.get_rotation()/180.*math.pi
        tr = mtransforms.Affine2D().rotate(theta)
        tr = tr.translate(posx+x_box, posy+y_box)
        self._bbox_patch.set_transform(tr)
        fontsize_in_pixel = renderer.points_to_pixels(self.get_size())
        self._bbox_patch.set_mutation_scale(fontsize_in_pixel)
        self._bbox_patch.draw(renderer)
def _draw_bbox ( self , renderer , posx , posy ) : x_box , y_box , w_box , h_box = _get_textbox ( self , renderer ) self . _bbox_patch . set_bounds ( 0. , 0. , w_box , h_box ) theta = self . get_rotation ( ) / 180. * math . pi tr = mtransforms . Affine2D ( ) . rotate ( theta ) tr = tr . translate ( posx + x_box , posy + y_box ) self . _bbox_patch . set_transform ( tr ) fontsize_in_pixel = renderer . points_to_pixels ( self . get_size ( ) ) self . _bbox_patch . set_mutation_scale ( fontsize_in_pixel ) self . _bbox_patch . draw ( renderer )
Update the location and the size of the bbox
(FancyBoxPatch), and draw
Update the location and the size of the bbox ( FancyBoxPatch ) and draw
""" Update the location and the size of the bbox
        (FancyBoxPatch), and draw
        """
self
renderer
posx
posy