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

Method set_axis_off

lib/matplotlib/axes/_base.py:3689–3699  ·  view source on GitHub ↗

Hide all visual components of the x- and y-axis. This sets a flag to suppress drawing of all axis decorations, i.e. axis labels, axis spines, and the axis tick component (tick markers, tick labels, and grid lines). Individual visibility settings of these com

(self)

Source from the content-addressed store, hash-verified

3687 self.yaxis.set_tick_params(**ykw)
3688
3689 def set_axis_off(self):
3690 """
3691 Hide all visual components of the x- and y-axis.
3692
3693 This sets a flag to suppress drawing of all axis decorations, i.e.
3694 axis labels, axis spines, and the axis tick component (tick markers,
3695 tick labels, and grid lines). Individual visibility settings of these
3696 components are ignored as long as `set_axis_off()` is in effect.
3697 """
3698 self.axison = False
3699 self.stale = True
3700
3701 def set_axis_on(self):
3702 """

Callers 15

axisMethod · 0.95
__init__Method · 0.45
demoMethod · 0.45
demoMethod · 0.45
test_count_bitmapsFunction · 0.45
test_usetexFunction · 0.45
test_noop_tight_bboxFunction · 0.45
test_transparencyFunction · 0.45
test_transparency_texFunction · 0.45
test_useafmFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_count_bitmapsFunction · 0.36
test_usetexFunction · 0.36
test_noop_tight_bboxFunction · 0.36
test_transparencyFunction · 0.36
test_transparency_texFunction · 0.36
test_useafmFunction · 0.36
test_path_collectionFunction · 0.36
test_pcolormesh_smallFunction · 0.36