class_docstr: Place a legend on the axes at location loc.
class_docstr_tok: ["Place","a","legend","on","the","axes","at","location","loc","."]
docstr: Set whether the legend box patch is drawn.
  
  Parameters
  ----------
  b : bool
      .. ACCEPTS: bool
docstr_tok: ["Set","whether","the","legend","box","patch","is","drawn",".","Parameters","--","--","--","--","--","b",":","bool","..","ACCEPTS",":","bool"]
code: def set_frame_on(self, b):
      """
      Set whether the legend box patch is drawn.
  
      Parameters
      ----------
      b : bool
          .. ACCEPTS: bool
      """
      self._drawFrame = b
      self.stale = True
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import logging
  import warnings
  import numpy
  from matplotlib import rcParams
  from matplotlib import docstring
  from matplotlib.artist import Artist, allow_rasterization
  from matplotlib.cbook import silent_list, is_hashable
  import matplotlib.colors
  from matplotlib.font_manager import FontProperties
  from matplotlib.lines import Line2D
  from matplotlib.patches import Patch, Rectangle, Shadow, FancyBboxPatch
  from matplotlib.collections import LineCollection, RegularPolyCollection, CircleCollection, PathCollection, PolyCollection
  from matplotlib.transforms import Bbox, BboxBase, TransformedBbox
  from matplotlib.transforms import BboxTransformTo, BboxTransformFrom
  from matplotlib.offsetbox import HPacker, VPacker, TextArea, DrawingArea
  from matplotlib.offsetbox import DraggableOffsetBox
  from matplotlib.container import ErrorbarContainer, BarContainer, StemContainer
  from .None import legend_handler
label_desc: Use image node_id 26 for calling the Legend obj's underlying member method code with example usage: obj.set_frame_on(b) without return types