fixed examples/applications/plot_stock_market.py for Python 3