title: Plotting histogram using seaborn for a dataframe
body: <p>I have a dataFrame which has multiple columns and many rows..Many row has no value for column so in the data frame its represented as NaN.
  The example dataFrame is as follows,</p>
  
  <pre><code>df.head()
  GEN Sample_1    Sample_2    Sample_3    Sample_4    Sample_5    Sample_6    Sample_7    Sample_8    Sample_9    Sample_10   Sample_11   Sample_12   Sample_13   Sample_14
  A123    9.4697  3.19689 4.8946  8.54594 13.2568 4.93848 3.16809 NAN NAN NAN NAN NAN NAN NAN
  A124    6.02592 4.0663  3.9218  2.66058 4.38232         NAN NAN NAN NAN NAN NAN NAN
  A125    7.88999 2.51576 4.97483 5.8901  21.1346 5.06414 15.3094 2.68169 8.12449 NAN NAN NAN NAN NAN
  A126    5.99825 10.2186 15.2986 7.53729 4.34196 8.75048 16.9358 5.52708 NAN NAN NAN NAN NAN NAN
  A127    28.5014 4.86702 NAN NAN NAN NAN NAN NAN NAN NAN NAN NAN NAN NAN
  </code></pre>
  
  <p>I wanted to plot histogram for this dataFrame using seaborn function from python and so i was trying the following lines,</p>
  
  <pre><code>sns.set(color_codes=True)
  sns.set(style="white", palette="muted")
  sns.distplot(df)
  </code></pre>
  
  <p>But its throwing the following error,</p>
  
  <pre><code>    ValueError                                Traceback (most recent call last)
      &lt;ipython-input-80-896d7fe85ef3&gt; in &lt;module&gt;()
            1 sns.set(color_codes=True)
            2 sns.set(style="white", palette="muted")
      ----&gt; 3 sns.distplot(df)
  
      /anaconda3/lib/python3.4/site-packages/seaborn/distributions.py in distplot(a, bins, hist, kde, rug, fit, hist_kws, kde_kws, rug_kws, fit_kws, color, vertical, norm_hist, axlabel, label, ax)
          210         hist_color = hist_kws.pop("color", color)
          211         ax.hist(a, bins, orientation=orientation,
      --&gt; 212                 color=hist_color, **hist_kws)
          213         if hist_color != color:
          214             hist_kws["color"] = hist_color
  
     /anaconda3/lib/python3.4/site-packages/matplotlib/axes/_axes.py in hist(self, x, bins, range, normed, weights, cumulative, bottom, histtype, align, orientation, rwidth, log, color, label, stacked, **kwargs)
         5627             color = mcolors.colorConverter.to_rgba_array(color)
         5628             if len(color) != nx:
      -&gt; 5629                 raise ValueError("color kwarg must have one color per dataset")
         5630 
         5631         # We need to do to 'weights' what was done to 'x'
  
      ValueError: color kwarg must have one color per dataset
  </code></pre>
  
  <p>Any helps/suggestions to get rid of this error would be greatly appreciated..!!!</p>