code: def testDownloadAndParseDaily(self):
      instrument = "orcl"
      barFeed = yahoofeed.Feed()
      barFeed.addBarsFromCSV(
          instrument,
          common.get_data_file_path("orcl-2000-yahoofinance.csv"),
      )
      strat = sma_crossover.SMACrossOver(barFeed, instrument, 20)
      plt = plotter.StrategyPlotter(strat, True, True, True)
      plt.getInstrumentSubplot(instrument).addDataSeries(
          "sma", strat.getSMA()
      )
      strat.run()
  
      with common.TmpDir() as tmpPath:
          png = os.path.join(tmpPath, "plotter_test.png")
          plt.savePlot(png)
          # Check that file size looks ok.
          self.assertGreater(os.stat(png).st_size, 45000)
  
file_path: pyalgotrade/testcases/plotter_test.py
imports: import sys
  import os
  from .None import common
  from pyalgotrade.barfeed import yahoofeed
  from pyalgotrade import plotter
  import sma_crossover
label_desc: Use image node_id 1 for calling the PlotterTestCase obj's underlying member method code with example usage: obj.testDownloadAndParseDaily() without return types