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

Method set_axis_on

lib/matplotlib/axes/_base.py:3701–3712  ·  view source on GitHub ↗

Do not hide all visual components of the x- and y-axis. This reverts the effect of a prior `.set_axis_off()` call. Whether the individual axis decorations are drawn is controlled by their respective visibility settings. This is on by default.

(self)

Source from the content-addressed store, hash-verified

3699 self.stale = True
3700
3701 def set_axis_on(self):
3702 """
3703 Do not hide all visual components of the x- and y-axis.
3704
3705 This reverts the effect of a prior `.set_axis_off()` call. Whether the
3706 individual axis decorations are drawn is controlled by their respective
3707 visibility settings.
3708
3709 This is on by default.
3710 """
3711 self.axison = True
3712 self.stale = True
3713
3714 # data limits, ticks, tick labels, and formatting
3715

Callers 2

__clearMethod · 0.95
axisMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected