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

Method set_norm

lib/matplotlib/image.py:1186–1189  ·  view source on GitHub ↗
(self, norm)

Source from the content-addressed store, hash-verified

1184 pass
1185
1186 def set_norm(self, norm):
1187 if self._A is not None:
1188 raise RuntimeError('Cannot change colors after loading data')
1189 super().set_norm(norm)
1190
1191 def set_cmap(self, cmap):
1192 if self._A is not None:

Callers 13

plot_surfaceMethod · 0.45
plot_trisurfMethod · 0.45
streamplotFunction · 0.45
__init__Method · 0.45
_process_colorsMethod · 0.45
scatterMethod · 0.45
hexbinMethod · 0.45
test_colorbar_renormFunction · 0.45
test_colorbar_formatFunction · 0.45

Calls

no outgoing calls

Tested by 6

test_colorbar_renormFunction · 0.36
test_colorbar_formatFunction · 0.36
test_norm_changeFunction · 0.36