title: Horizontal Bar Plot in Plotly using Cufflinks with 2 traces
body: <p>I have a pandas DataFrame <code>ten_day</code> that looks like this:</p>
  
  <pre><code>XLF US Equity           NaN
  PEO PW Equity     -2.797857
  GLE FP Equity      4.497489
  CBK GY Equity      6.162684
  BAC US Equity           NaN
  UCG IM Equity      4.250801
  ITRXESE Index     -0.996103
  HSBC US Equity          NaN
  RBS LN Equity     -1.347926
  CABK SM Equity     8.127579
  SAN SM Equity      4.521443
  ISP IM Equity      5.023080
  SX7E Index         4.900426
  ANZ AU Equity      0.723205
  CSGN VX Equity    -0.800900
  SWEDA SS Equity   -0.973182
  POP SM Equity      4.434381
  BNP FP Equity      3.378214
  BARC LN Equity    -0.066818
  Name: Vol_Adj_10, dtype: float64
  </code></pre>
  
  <p>I have created a plot in Plotly (<a href="https://plot.ly/~dpsugasa/289/_10-day-volatility-adjusted-returns/" rel="nofollow noreferrer">https://plot.ly/~dpsugasa/289/_10-day-volatility-adjusted-returns/</a>) using the following code:</p>
  
  <pre><code>ten_day.iplot(kind='barh', bargap=.2, filename = 'Vol_Adjusted/Bank Returns/10Day_Vol_Adjusted',\
            title='10 Day Volatility Adjusted Returns', legend = True,
            xTitle = '10D Vol Adjusted Return (30D)', vline ={'x':'0','color':'black','width':'2'}, sortbars=True,
            margin = (200,5))
  </code></pre>
  
  <p>I would like the negative bars to be a different color than the positive bars. Is there a way to do this using only cufflinks?</p>
  
  <p>I've considered using <code>ten_day.loc[lambda df: df&gt;0]</code> to filter positive and negative values and then trying to plot two different traces but I am struggling to get the syntax right. Any help would be appreciated.</p>