title: Python: Trouble making separate plots using plot_drawdown_underwater from pyfolio and get_data_yahoo from pandas-datareader to plot stock drawdown
body: <p>I have this code:</p>
  <pre><code>from pandas_datareader import data as pdr
  import pyfolio as pf
  
  myStartDate = &quot;2019-1-1&quot;   # (Format: Year-Month-Day)
  myEndDate = &quot;2020-11-11&quot;   # (Format: Year-Month-Day)
  myTickers = [&quot;AAPL&quot;, &quot;MSFT&quot;]
  
  myData = pdr.get_data_yahoo(myTickers, myStartDate, myEndDate)
  
  myDailyAdjustedClose = myData[['Adj Close']]
  returns = myDailyAdjustedClose.pct_change()
  
  pf.plot_drawdown_underwater(returns)
  </code></pre>
  <p>The problem is that both Apple and Microsoft are plotted on the same plot. Instead, I want 2 separate plots.</p>
  <p>Instead of &quot;pf.plot_drawdown_underwater(returns)&quot; I also tried:</p>
  <pre><code>for x in range(returns.shape[1]):
      columnData = returns.iloc[:, x]
      pf.plot_drawdown_underwater(columnData)
  </code></pre>
  <p>But I still got the same result.</p>