This repo shows how to use plotly charts in a simple flask application. The project uses python 3.
In order to run the project clone the repo and run the following commands (I suggest doing so in a virtualenv):
pip install -r requirements.txt
python app.py
If everything works fine you will be able to browse the page at this address: http://localhost:9999/