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

Class Hrule

lib/matplotlib/_mathtext.py:1529–1536  ·  view source on GitHub ↗

Convenience class to create a horizontal rule.

Source from the content-addressed store, hash-verified

1527
1528
1529class Hrule(Rule):
1530 """Convenience class to create a horizontal rule."""
1531
1532 def __init__(self, state: ParserState, thickness: float | None = None):
1533 if thickness is None:
1534 thickness = state.get_current_underline_thickness()
1535 height = depth = thickness * 0.5
1536 super().__init__(np.inf, height, depth, state)
1537
1538
1539class Vrule(Rule):

Callers 4

_genfracMethod · 0.85
sqrtMethod · 0.85
overlineMethod · 0.85
underlineMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…