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

Method register

lib/matplotlib/projections/__init__.py:75–79  ·  view source on GitHub ↗

Register a new set of projections.

(self, *projections)

Source from the content-addressed store, hash-verified

73 self._all_projection_types = {}
74
75 def register(self, *projections):
76 """Register a new set of projections."""
77 for projection in projections:
78 name = projection.name
79 self._all_projection_types[name] = projection
80
81 def get_projection_class(self, name, _error_cls=KeyError):
82 """Get a projection class from its *name*."""

Callers 15

__init__.pyFile · 0.45
register_projectionFunction · 0.45
_create_applicationFunction · 0.45
_secondary_axes.pyFile · 0.45
test_RRuleLocatorFunction · 0.45
test_DateFormatterFunction · 0.45
test_jpl_bar_unitsFunction · 0.45
test_jpl_barh_unitsFunction · 0.45
test_formatter_tickerFunction · 0.45
test_fill_unitsFunction · 0.45
test_axvspan_epochFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_RRuleLocatorFunction · 0.36
test_DateFormatterFunction · 0.36
test_jpl_bar_unitsFunction · 0.36
test_jpl_barh_unitsFunction · 0.36
test_formatter_tickerFunction · 0.36
test_fill_unitsFunction · 0.36
test_axvspan_epochFunction · 0.36
test_axhspan_epochFunction · 0.36
test_units_rectangleFunction · 0.36
test_polar_units_1Function · 0.36
test_polar_units_2Function · 0.36