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

Function grid

lib/matplotlib/pyplot.py:3546–3552  ·  view source on GitHub ↗
(
    visible: bool | None = None,
    which: Literal["major", "minor", "both"] = "major",
    axis: Literal["both", "x", "y"] = "both",
    **kwargs,
)

Source from the content-addressed store, hash-verified

3544# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
3545@_copy_docstring_and_deprecators(Axes.grid)
3546def grid(
3547 visible: bool | None = None,
3548 which: Literal["major", "minor", "both"] = "major",
3549 axis: Literal["both", "x", "y"] = "both",
3550 **kwargs,
3551) -> None:
3552 gca().grid(visible=visible, which=which, axis=axis, **kwargs)
3553
3554
3555# Autogenerated by boilerplate.py. Do not edit as changes will be lost.

Callers

nothing calls this directly

Calls 2

gcaFunction · 0.85
gridMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…