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

Method _get

lib/matplotlib/__init__.py:720–739  ·  view source on GitHub ↗

Directly read data bypassing deprecation, backend and validation logic. Notes ----- As end user or downstream library you almost always should use ``val = rcParams[key]`` and not ``_get()``. There are only very few special cases that need di

(self, key)

Source from the content-addressed store, hash-verified

718 dict.__setitem__(self, key, val)
719
720 def _get(self, key):
721 """
722 Directly read data bypassing deprecation, backend and validation
723 logic.
724
725 Notes
726 -----
727 As end user or downstream library you almost always should use
728 ``val = rcParams[key]`` and not ``_get()``.
729
730 There are only very few special cases that need direct data access.
731 These cases previously used ``dict.__getitem__(rcParams, key, val)``,
732 which is now deprecated and replaced by ``rcParams._get(key)``.
733
734 Even though private, we guarantee API stability for ``rcParams._get``,
735 i.e. it is subject to Matplotlib's API and deprecation policy.
736
737 :meta public:
738 """
739 return dict.__getitem__(self, key)
740
741 def _update_raw(self, other_params):
742 """

Callers 7

__getitem__Method · 0.95
_get_backend_or_noneMethod · 0.95
copyMethod · 0.95
get_backendFunction · 0.80
_get_backend_modFunction · 0.80
switch_backendFunction · 0.80

Calls 1

__getitem__Method · 0.45

Tested by 1