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

Class RasterParse

lib/matplotlib/_mathtext.py:96–114  ·  view source on GitHub ↗

The namedtuple type returned by ``MathTextParser("agg").parse(...)``. Attributes ---------- ox, oy : float The offsets are always zero. width, height, depth : float The global metrics. image : 2D array of uint8 A raster image.

Source from the content-addressed store, hash-verified

94
95
96class RasterParse(NamedTuple):
97 """
98 The namedtuple type returned by ``MathTextParser("agg").parse(...)``.
99
100 Attributes
101 ----------
102 ox, oy : float
103 The offsets are always zero.
104 width, height, depth : float
105 The global metrics.
106 image : 2D array of uint8
107 A raster image.
108 """
109 ox: float
110 oy: float
111 width: float
112 height: float
113 depth: float
114 image: NDArray[np.uint8]
115
116RasterParse.__module__ = "matplotlib.mathtext"
117

Callers 1

to_rasterMethod · 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…