Skip to content

Comments

Update routes.py- fixed not showing plotly#2

Open
OttavioM wants to merge 1 commit intoPrincekrampah:masterfrom
OttavioM:master
Open

Update routes.py- fixed not showing plotly#2
OttavioM wants to merge 1 commit intoPrincekrampah:masterfrom
OttavioM:master

Conversation

@OttavioM
Copy link

I was looking the tutorial and:

@app.route('/')

def index():

return render_template('index.html')

was replaced with the new function, the code was not displaying the plotly graphs until this is commented and the chart1 is renamed index.

Of course there is a better option, but this worked for me

I was looking the tutorial and:
# @app.route('/')
# def index():
#     return render_template('index.html')

was replaced with the new function, the code was not displaying the plotly graphs until this is commented and the chart1 is renamed index
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant