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

Function norm

lib/mpl_toolkits/mplot3d/art3d.py:1742–1743  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

1740 out_norm = mcolors.Normalize(0.3, 1).inverse
1741
1742 def norm(x):
1743 return out_norm(in_norm(x))
1744
1745 shade[~mask] = 0
1746

Callers 15

_shade_colorsFunction · 0.85
test_surface3d_maskedFunction · 0.85
shadeMethod · 0.85
_sig_digits_from_normMethod · 0.85
_proportional_yMethod · 0.85
streamplotFunction · 0.85
test_quadmesh_vmin_vmaxFunction · 0.85
test_CenteredNormFunction · 0.85
test_lognorm_invalidFunction · 0.85
test_LogNorm_inverseFunction · 0.85
test_PowerNormFunction · 0.85
test_NormalizeFunction · 0.85

Calls

no outgoing calls

Tested by 15

test_surface3d_maskedFunction · 0.68
test_quadmesh_vmin_vmaxFunction · 0.68
test_CenteredNormFunction · 0.68
test_lognorm_invalidFunction · 0.68
test_LogNorm_inverseFunction · 0.68
test_PowerNormFunction · 0.68
test_NormalizeFunction · 0.68
test_FuncNormFunction · 0.68
test_TwoSlopeNorm_scaleFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…