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

Method get

lib/matplotlib/backends/_backend_pdf_ps.py:129–136  ·  view source on GitHub ↗

Get the forward mapping from a (character string, glyph index)-pair. This may return *None* if the pair is not currently mapped.

(self, charcodes: str,
            glyph_index: GlyphIndexType)

Source from the content-addressed store, hash-verified

127 tuple[CharacterCodeType, GlyphIndexType]] = {}
128
129 def get(self, charcodes: str,
130 glyph_index: GlyphIndexType) -> tuple[int, CharacterCodeType] | None:
131 """
132 Get the forward mapping from a (character string, glyph index)-pair.
133
134 This may return *None* if the pair is not currently mapped.
135 """
136 return self._forward.get((charcodes, glyph_index))
137
138 def iget(self, subset: int,
139 subset_charcode: CharacterCodeType) -> tuple[str, GlyphIndexType]:

Callers 15

useFunction · 0.45
runMethod · 0.45
_rcparam_roleFunction · 0.45
get_plot_formatsFunction · 0.45
runFunction · 0.45
math_roleFunction · 0.45
runMethod · 0.45
clearMethod · 0.45
_init_axisMethod · 0.45
drawMethod · 0.45
_handle_mouseMethod · 0.45
_handle_keyMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_specgramMethod · 0.36
test_rectangle_selectorFunction · 0.36
test_ipynbFunction · 0.36
test_Issue_1713Function · 0.36
test_colorbar_errorsFunction · 0.36
_bxp_test_helperFunction · 0.36
test_psd_csdFunction · 0.36
test_sigintFunction · 0.36
test_ipynbFunction · 0.36