I don’t see any plot in page just loading and no graphs is shown enter image description here
my python version is :Anaconda 3 Python 3.6.4 my server :centos7 with no internet access
First I installed dash all sources and python setup.py install all of them
install dash 0.22.0
install dash-renderer 0.13.0
install dash-html-components 0.11.0
install dash-core-components 0.26.0
install plotly the latest version
I try to open page with many browser like Chrome and Firefox and Internet Explorer but still show loading.
import dash
import dash_core_components as dcc
import dash_html_components as html
import plotly.offline as offline
import plotly.graph_objs as go
app = dash.Dash()
app.css.config.serve_locally = True
app.scripts.config.serve_locally = True
app.layout = html.Div(children=[
html.H1(children='Hello Dash'),
html.Div(children='''
Dash: A web application framework for Python.
'''),
dcc.Graph(
id='example-graph',
figure={
'data': [
{'x': [1, 2, 3], 'y': [4, 1, 2], 'type': 'bar', 'name': 'SF'},
{'x': [1, 2, 3], 'y': [2, 4, 5], 'type': 'bar', 'name': u'Montréal'},
],
'layout': {
'title': 'Dash Data Visualization'
}
}
)
])
if __name__ == '__main__':
app.run_server(debug=True,host = '0.0.0.0',port=5001)
i retry to do assets folder and put custom-script.js header.css typography.css
put still not show anything just loading…
inspect element Network Monitor image png without assets folder How can I resolve this issue?
thank you i already solve it by uninstall dash-renderer 0.13.0 and install it again i realized that when i open monitor network ther is no GET for dash-layout or dash-dependencies so i try to uninstall dash-renderer 0.13.0 and install it again and its work now thank you