title: Ta-lib - Python - MACD Histogram plots Line instead of Histogram
body: <p>Ta-Lib for Python - version:0.4.7. </p>
  
  <p><strong>Issue: Talib.MACD - Histo plotting line instead of histogram</strong> </p>
  
  <p>Python 3.3.2
  Matplotlib 1.2.1, Numpy 1.7.1!
  OS: Windows 7</p>
  
  <p><strong>I am trying to add MACD, using Ta-lib.  The histogram is plotting as Line instead of histogram. Need your guidance to sort it out.</strong> </p>
  
  <p>(I tried to attach the image, but unable to do so due to lack of reputations.)</p>
  
  <p>I am very much a fresher to programming and to Python as well as to other packages I am using. Your guidance will help me improve further.</p>
  
  <p>My code:</p>
  
  <p>Calculation:</p>
  
  <pre><code>macd = macd, macdsignal, macdhist = talib.MACD(r.close, 12, 26, 9)
  </code></pre>
  
  <p>Plotting:</p>
  
  <pre><code>ax1 = fig1.add_subplot(211, frameon=True)
      macd = ax1.plot(macd, color='green')
      macd = ax1.plot(macdsignal, color='red')
      macd = ax1.plot(macdhist, color='blue')
  </code></pre>
  
  <p>Thanks in advance</p>
  
  <p>Regards</p>
  
  <p>Suresh</p>