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

Method update

lib/mpl_toolkits/axisartist/grid_finder.py:258–267  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

256 np.column_stack([x, y])).T
257
258 def update(self, **kwargs):
259 for k, v in kwargs.items():
260 if k in ["extreme_finder",
261 "grid_locator1",
262 "grid_locator2",
263 "tick_formatter1",
264 "tick_formatter2"]:
265 setattr(self, k, v)
266 else:
267 raise ValueError(f"Unknown update property {k!r}")
268
269
270class MaxNLocator(mticker.MaxNLocator):

Callers 13

__init__Method · 0.45
update_grid_finderMethod · 0.45
clearMethod · 0.45
clearMethod · 0.45
test_axisline_styleFunction · 0.45
test_custom_transformFunction · 0.45
test_polar_boxFunction · 0.45
__init__Method · 0.45
clearMethod · 0.45

Calls

no outgoing calls

Tested by 7

test_axisline_styleFunction · 0.36
test_custom_transformFunction · 0.36
test_polar_boxFunction · 0.36