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

Method get_axis_height

lib/matplotlib/_mathtext.py:310–314  ·  view source on GitHub ↗

Get the axis height for the given *font* and *fontsize*.

(self, font: str, fontsize: float, dpi: float)

Source from the content-addressed store, hash-verified

308 output.rects.append((x, y, w, h))
309
310 def get_axis_height(self, font: str, fontsize: float, dpi: float) -> float:
311 """
312 Get the axis height for the given *font* and *fontsize*.
313 """
314 raise NotImplementedError()
315
316 def get_quad(self, font: str, fontsize: float, dpi: float) -> float:
317 """

Callers 1

_genfracMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected