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

Method set_visible

lib/matplotlib/artist.py:1105–1116  ·  view source on GitHub ↗

Set the artist's visibility. Parameters ---------- b : bool

(self, b)

Source from the content-addressed store, hash-verified

1103 self.stale = True
1104
1105 def set_visible(self, b):
1106 """
1107 Set the artist's visibility.
1108
1109 Parameters
1110 ----------
1111 b : bool
1112 """
1113 if b != self._visible:
1114 self._visible = b
1115 self.pchanged()
1116 self.stale = True
1117
1118 def set_animated(self, b):
1119 """

Callers 15

_update_connectorsMethod · 0.45
linear_spineMethod · 0.45
_init_drawMethod · 0.45
_pre_drawMethod · 0.45
_draw_frameMethod · 0.45
_apply_paramsMethod · 0.45
set_tick_paramsMethod · 0.45
__init__Method · 0.45
set_titleMethod · 0.45
set_frame_onMethod · 0.45
autofmt_xdateMethod · 0.45
set_frameonMethod · 0.45

Calls 1

pchangedMethod · 0.95

Tested by 15

test_visibilityFunction · 0.36
test_label_without_ticksFunction · 0.36
test_noop_tight_bboxFunction · 0.36
drawMethod · 0.36
test_invisible_axesFunction · 0.36
test_twin_spinesFunction · 0.36
test_relim_visible_onlyFunction · 0.36
test_relim_collectionFunction · 0.36
test_axisbelowFunction · 0.36