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

Method on_changed

lib/matplotlib/axes/_axes.py:5865–5869  ·  view source on GitHub ↗
(collection)

Source from the content-addressed store, hash-verified

5863 collection.hbar, collection.vbar = bars
5864
5865 def on_changed(collection):
5866 collection.hbar.set_cmap(collection.get_cmap())
5867 collection.hbar.set_cmap(collection.get_cmap())
5868 collection.vbar.set_clim(collection.get_clim())
5869 collection.vbar.set_clim(collection.get_clim())
5870
5871 collection.callbacks.connect('changed', on_changed)
5872

Callers

nothing calls this directly

Calls 4

set_cmapMethod · 0.45
get_cmapMethod · 0.45
set_climMethod · 0.45
get_climMethod · 0.45

Tested by

no test coverage detected