Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a1a5e5 commit 124a8b1Copy full SHA for 124a8b1
lib/matplotlib/tests/test_axes.py
@@ -1693,6 +1693,17 @@ def test_hist2d_transpose():
1693
ax.hist2d(x, y, bins=10, rasterized=True)
1694
1695
1696
+def test_hist2d_density_normed():
1697
+ x, y = np.random.random((2, 100))
1698
+ ax = plt.figure().subplots()
1699
+ for obj in [ax, plt]:
1700
+ obj.hist2d(x, y, density=True)
1701
+ with pytest.warns(MatplotlibDeprecationWarning):
1702
+ obj.hist2d(x, y, normed=True)
1703
1704
+ obj.hist2d(x, y, density=True, normed=True)
1705
+
1706
1707
class TestScatter(object):
1708
@image_comparison(baseline_images=['scatter'],
1709
style='mpl20', remove_text=True)
0 commit comments