MCPcopy Index your code
hub / github.com/pydata/xarray / test_default_aspect_is_auto

Method test_default_aspect_is_auto

xarray/tests/test_plot.py:2027–2029  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2025 assert np.allclose([9.5, -0.5], plt.gca().get_ylim())
2026
2027 def test_default_aspect_is_auto(self) -> None:
2028 self.darray.plot.imshow()
2029 assert "auto" == plt.gca().get_aspect()
2030
2031 @pytest.mark.slow
2032 def test_cannot_change_mpl_aspect(self) -> None:

Callers

nothing calls this directly

Calls 1

imshowMethod · 0.80

Tested by

no test coverage detected