code: def analyze(context=None, results=None):
      import matplotlib.pyplot as plt
  
      fig = plt.figure()
      ax = fig.add_subplot(111)
      results.portfolio_value.plot(ax=ax)
      ax.set_ylabel("Portfolio value (USD)")
      plt.show()
  
file_path: zipline/zipline/examples/olmar.py
imports: import sys
  import logbook
  import numpy
  from zipline.finance import commission, slippage
label_desc: Use image node_id 5 for calling a global function with example usage: analyze(context, results) without return types