def METHOD_NAME(self):
    """Test generation of plot with no data."""
    for arr in [np.empty(0)]:
        with self.subTest(arr=arr):
            out = density(arr)
            self.assertTrue(isinstance(out, matplotlib.axes.Axes))
            plt.close("all")