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

Function test_TwoSlopeNorm_scale

lib/matplotlib/tests/test_colors.py:661–665  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

659
660
661def test_TwoSlopeNorm_scale():
662 norm = mcolors.TwoSlopeNorm(2)
663 assert norm.scaled() is False
664 norm([1, 2, 3, 4])
665 assert norm.scaled() is True
666
667
668def test_TwoSlopeNorm_scaleout_center():

Callers

nothing calls this directly

Calls 2

normFunction · 0.85
scaledMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…