@cleanup
def test_violin_point_mass():
 plt.violinplot(np.array([0, 0]))

@ cleanup def test_violin_point_mass ( ) : plt . violinplot ( np . array ( [ 0 , 0 ] ) )
violin plot should handle point mass pdf gracefully .