driscoll42 / ebayMarketAnalyzer

Scrape all eBay sold listings to determine average/median pricing, plot listings over time with trend lines, and extract to excel
195 stars 26 forks source link

Make setting to show or not show plots #35

Closed driscoll42 closed 3 years ago

driscoll42 commented 3 years ago

Is your feature request related to a problem? Please describe. When the script is set to run as a batch job, because of the plt.show() function calls it makes a ton of popups on the screen of the plots. The plots don't need to be displayed, just saved.

Describe the solution you'd like Add another option to ebay_scrape.py to allow/disallow the plots from being show. so all lines where it was:

plt.show()

Have:

if show_plots: plt.show()