Questions tagged [jupyterdash]

23 questions
6
votes
1 answer

How to debug a JupyterDash app using VSCode?

This is going to be a self-answered post, but that only means that I've got an idea of a solution, and that I'm very eager to hear about more efficient and stable approaches to the challenge in question. I would like to know how you can combine the…
vestland
  • 55,229
  • 37
  • 187
  • 305
5
votes
1 answer

run jupyter-dash update without killing kernels

I am working on a dash project on jupyter notebook with jupyter-dash. Each time I updated my code, I had to kill the kernels and than restart the jupyter notebook in order to get the changing code working. Otherwise the dash webpage shows double…
4
votes
5 answers

JupyterDash app.run_server error using Jupyter Notebook

I am trying to make charts using JupyterDash but first things first... i can't run simple JupyterDash test via Jupyter Notebook because every time i receive the same error: AttributeError: ('Read-only: can only be set in the Dash constructor or…
4
votes
1 answer

Plotly JupyterDash is not removing irrelevant columns when applying categoryorder sort to measure with a negative value

I'm trying to sort the axis of my chart based on the values in the "sales" column. Once I apply fig.update_layout(yaxis={'categoryorder':'total descending'}) to my figure, the chart no longer removes irrelevant rows when filtering the dataframe by…
3
votes
1 answer

Plotly-Dash: How to code interactive callbacks for hover functions in plotly dash

Is it possible to have a text field at the bottom of a graph in dash that displays the text for the point they are on (showing hover data as plain text). So the text box will be able to make changes when users hover over a certain point. I have…
Tamarie
  • 125
  • 2
  • 6
  • 18
1
vote
1 answer

how to stop jupyter-dash from running in vscode?

I am using jupyter-dash in VSCode. I have a big iteration. sometime I'd like to stop running. I tried few options in the below link and they never…
roudan
  • 3,082
  • 5
  • 31
  • 72
1
vote
1 answer

Trying to run Jupyter-Dash and getting "an integer is required" error

I am trying to get the first Dash example from https://dash.plotly.com/basic-callbacks running in a Jupyter Notebook with Jupyter Dash and the app runs fine as a standalone application, but errors out when implemented in the notebook and I can't…
Wallabee
  • 31
  • 4
1
vote
0 answers

Why does this error happen with dash when i try to display my interactive figures on a server?

I am running the following codes but the server doesn't work. It produces a link but the link doesn't open. I receive the following warnings: Serving Flask app "main" (lazy loading) Environment: production WARNING: This is a development server. Do…
1
vote
1 answer

Python JupyterDash unable to access callback modified objects

Let's suppose that I want to make a Dash app call from a python class, within a jupyter notebook/lab, do some stuffs and finally access to the modified object. I am falling short on this last task, here a minimal working example: import pandas as…
FBruzzesi
  • 6,385
  • 3
  • 15
  • 37
1
vote
1 answer

How can I run Jupyter Dash app in offline mode

I haven’t got internet connection on my work machine, but I’d like to use dash. When I try to run my code with app.css.config.serve_locally = True app.scripts.config.serve_locally = True I also get only white screen without any graphics or…
1
vote
1 answer

JupyterDash in JupyterLabs fails after using plotly express in a prior cell

I have a notebook in which I want to display some interactive figures using plotly, then construct a dashboard within the notebook using JupyterDash. The following code works fine on my machine: import numpy as np import pandas as pd import…
jkropko
  • 11
  • 1
0
votes
0 answers

Dash: is there a way to make a sidebar with images instead of text?

For JupyterDash in python, is it possible to create a sidebar that has images inside of it instead of text? Either to just display the images or to be able to click on the images & have that image link to something else. I haven’t been able to find…
carsof
  • 83
  • 1
  • 8
0
votes
0 answers

I am getting callback error updating ..data-dropdown.style...CountGraph.figure

I am trying to select a country and based on the country i would like to display the count of restaurants on the dataset. I am not getting where i am missing the logic and the basic 2d graph is displaying before selecting the country using dropdown…
uma_8331
  • 89
  • 5
0
votes
1 answer

Why is plotly not working, it was working fine with one callback but when i added second callback everything crashed

Code was working with one callback function, but when i added a second callback(change title color feature) everything stopped working and i was given a blank canvas. I would like to be able to see the bar chart, with live adjutable size graph(first…
mobly elliot
  • 65
  • 1
  • 4
0
votes
1 answer

JupyterDash: how to get the flask callable?

I have a script that runs jupyter dash app app = JupyterDash(__name__, external_stylesheets=external_stylesheets) app.run_server(port=8118, debug=False) When the script is executed, I see Dash is running on http://127.0.0.1:8118/ * Serving Flask…
Amal Rajan
  • 153
  • 1
  • 11
1
2