MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_frameon

Method set_frameon

lib/matplotlib/figure.py:488–499  ·  view source on GitHub ↗

Set the figure's background patch visibility, i.e. whether the figure background will be drawn. Equivalent to ``Figure.patch.set_visible()``. Parameters ---------- b : bool

(self, b)

Source from the content-addressed store, hash-verified

486 self.patch.set_facecolor(color)
487
488 def set_frameon(self, b):
489 """
490 Set the figure's background patch visibility, i.e.
491 whether the figure background will be drawn. Equivalent to
492 ``Figure.patch.set_visible()``.
493
494 Parameters
495 ----------
496 b : bool
497 """
498 self.patch.set_visible(b)
499 self.stale = True
500
501 frameon = property(get_frameon, set_frameon)
502

Callers

nothing calls this directly

Calls 1

set_visibleMethod · 0.45

Tested by

no test coverage detected