Comments (2)
The Dash apps are run in a separate process which has its own memory scope. So, extracting the scoped variables from within a function with global
won't necessary work.
In our integration tests, we use multiprocessing.Value
- https://docs.python.org/3.6/library/multiprocessing.html#sharing-state-between-processes, see e.g. https://github.com/plotly/dash/blob/f958d9e0910a860cc5cc0b3b6a98a8f205c29d6a/tests/integration/test_render.py#L325
I think only primitive data types are supported, so you might need to serialize back and forth into strings.
from jupyterlab-dash.
Thanks @chriddyp I'll look into this. It would be a great feature for users who want at the same time to process data in a notebook and to benefit from the rich interactivity of a Dash app.
from jupyterlab-dash.
Related Issues (20)
- Issue: no module named queue HOT 1
- Create a demo binder HOT 3
- Idea: Dash apps as JupyterLab mime renderers HOT 5
- ENH: Inline mode HOT 2
- 404: not found Error HOT 15
- Can't install node dependencies on WSL HOT 3
- Add Support for Sharereable dash link
- binder badge broken HOT 3
- Unable to communicate with the jupyterlab-dash JupyterLab extension. HOT 22
- ConnectionError: Unable to start Dash server HOT 3
- Remove f-string for < 3.5 support HOT 1
- [email protected]" is not compatible with the current JupyterLab 1.0 HOT 5
- How to run in debug mode and view the errors HOT 1
- Apps only rendering partially HOT 1
- An exception has occured
- JupyterLab web browser tab showing white screen only HOT 2
- How to use jupyterlab-dash in an offline environment
- "[email protected]" is not compatible with the current JupyterLab HOT 4
- dash on Jupyterlab running in docker HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyterlab-dash.