()
| 2913 | |
| 2914 | @mpl.style.context("mpl20") |
| 2915 | def test_hist2d_autolimits(): |
| 2916 | x, y = np.random.random((2, 100)) |
| 2917 | ax = plt.figure().add_subplot() |
| 2918 | ax.hist2d(x, y) |
| 2919 | assert ax.get_xlim() == (x.min(), x.max()) |
| 2920 | assert ax.get_ylim() == (y.min(), y.max()) |
| 2921 | assert ax.get_autoscale_on() # Autolimits have not been disabled. |
| 2922 | |
| 2923 | |
| 2924 | class TestScatter: |
nothing calls this directly
no test coverage detected
searching dependent graphs…