plotly-dash

Dash deployed on apache server failing with “Dash object not callable”

China☆狼群 提交于 2021-02-11 12:32:30
问题 I'm trying to deploy a python dash app to my apache server. I followed the scant amount of information about this configuration that I could find (officials docs; this troubleshooting thread was a bit better). When I visit the website, the page returns a 500 Internal Server Error , which is described as "Dash object not callable" in the server error log. These are the config files: >> cat /var/www/html/wsgi/dashGAF.wsgi #!/usr/bin/python import sys sys.path.insert(0,"/home/ubuntu/dashboards/"

Dash download in-memory generated file on button click: How to give filename?

回眸只為那壹抹淺笑 提交于 2021-02-10 18:21:46
问题 I generate an in-memory Excel file via pd.ExcelWriter and BytesIO for a click event in my Python3.8 dash app. Everything works as it should be. When I download my file I get this popup message asking me if I would like to continue to download/open the generated file. However, the popup message shows this (I guess base64 encoded) string (or path?), e.g. ...ydaHdjhgk328AAAAnxsAA== and after downloading the download gets a (randomly assigned?) set of characters as the filename (e.g. ZySzsdn1

Properly setting up callbacks for dynamic dropdowns plotly dash

戏子无情 提交于 2021-02-10 18:13:08
问题 I am trying to create a Dash dashboard where dropdown options in one box are dependent on the previous dropdown selection. The data consists of two dictionaries, with two keys each. Each key contains a dataframe with a couple of columns. The exact data: from jupyter_dash import JupyterDash import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output, State, ClientsideFunction import dash_core_components as dcc import dash_html_components

Properly setting up callbacks for dynamic dropdowns plotly dash

不问归期 提交于 2021-02-10 18:12:06
问题 I am trying to create a Dash dashboard where dropdown options in one box are dependent on the previous dropdown selection. The data consists of two dictionaries, with two keys each. Each key contains a dataframe with a couple of columns. The exact data: from jupyter_dash import JupyterDash import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output, State, ClientsideFunction import dash_core_components as dcc import dash_html_components

Plot dash chart side by side

被刻印的时光 ゝ 提交于 2021-02-10 06:14:53
问题 i have 2 charts and i want it to display side by side . Barchart and piechart side by side and probably the same barchart below these 2 charts.i have tried a lot and i would really appreciate some help. this is the below code import dash import dash_core_components as dcc import dash_html_components as html import plotly.graph_objs as go from dash.dependencies import Output, Input, State import numpy as np import pandas as pd import plotly.figure_factory as ff from pandas import read_excel

Plot dash chart side by side

依然范特西╮ 提交于 2021-02-10 06:14:12
问题 i have 2 charts and i want it to display side by side . Barchart and piechart side by side and probably the same barchart below these 2 charts.i have tried a lot and i would really appreciate some help. this is the below code import dash import dash_core_components as dcc import dash_html_components as html import plotly.graph_objs as go from dash.dependencies import Output, Input, State import numpy as np import pandas as pd import plotly.figure_factory as ff from pandas import read_excel

Plot dash chart side by side

限于喜欢 提交于 2021-02-10 06:13:43
问题 i have 2 charts and i want it to display side by side . Barchart and piechart side by side and probably the same barchart below these 2 charts.i have tried a lot and i would really appreciate some help. this is the below code import dash import dash_core_components as dcc import dash_html_components as html import plotly.graph_objs as go from dash.dependencies import Output, Input, State import numpy as np import pandas as pd import plotly.figure_factory as ff from pandas import read_excel

Plot dash chart side by side

て烟熏妆下的殇ゞ 提交于 2021-02-10 06:13:07
问题 i have 2 charts and i want it to display side by side . Barchart and piechart side by side and probably the same barchart below these 2 charts.i have tried a lot and i would really appreciate some help. this is the below code import dash import dash_core_components as dcc import dash_html_components as html import plotly.graph_objs as go from dash.dependencies import Output, Input, State import numpy as np import pandas as pd import plotly.figure_factory as ff from pandas import read_excel

Dash suppress_callback_exceptions not working

拈花ヽ惹草 提交于 2021-02-08 15:58:08
问题 Here is how I implement it in my code. I have tried each way individually and using all of them as uncommented lines of code. No matter the combination of methods I use, I still have to manually turn suppress errors once my dashboard loads. app = dash.Dash(__name__, external_stylesheets=external_stylesheets) app.title = 'TEST' app.config['suppress_callback_exceptions'] = True app.config.suppress_callback_exceptions = True I have also tried (without any luck): app = dash.Dash(__name__,

What service to use for deploying my flask + dash application

爱⌒轻易说出口 提交于 2021-02-08 12:15:29
问题 I am building a small application with dash and flask. Where my user can upload his csv/excel file and have a look at the graphs being generated. I assume the size of each excel file could be around hardly 50MB max / week. I have ' ZERO ' knowledge on servers and deployment etc. Can anyone guide or enlighten me on this area. Also this application is just for an internal purpose so we are not allowed to go easy on the budget. My random google searches gave me options like, 1. AWS 2. Heroku