@@ -0,0 +1,785 @@
+import nose.tools as nt%0Aimport numpy.testing as npt%0Aimport matplotlib.pyplot as plt%0A%0Afrom .. import miscplot as misc%0Afrom seaborn import color_palette%0A%0A%0Aclass TestPalPlot(object):%0A    %22%22%22Test the function that visualizes a color palette.%22%22%22%0A    def test_palplot_size(self):%0A%0A        pal4 = color_palette(%22husl%22, 4)%0A        misc.palplot(pal4)%0A        size4 = plt.gcf().get_size_inches()%0A        nt.assert_equal(tuple(size4), (4, 1))%0A%0A        pal5 = color_palette(%22husl%22, 5)%0A        misc.palplot(pal5)%0A        size5 = plt.gcf().get_size_inches()%0A        nt.assert_equal(tuple(size5), (5, 1))%0A%0A        palbig = color_palette(%22husl%22, 3)%0A        misc.palplot(palbig, 2)%0A        sizebig = plt.gcf().get_size_inches()%0A        nt.assert_equal(tuple(sizebig), (6, 2))%0A%0A        plt.close(%22all%22)%0A

Add simple test for palplot