()
| 638 | |
| 639 | |
| 640 | def test_TwoSlopeNorm_autoscale(): |
| 641 | norm = mcolors.TwoSlopeNorm(vcenter=20) |
| 642 | norm.autoscale([10, 20, 30, 40]) |
| 643 | assert norm.vmin == 10. |
| 644 | assert norm.vmax == 40. |
| 645 | |
| 646 | |
| 647 | def test_TwoSlopeNorm_autoscale_None_vmin(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…