Skip to content

Sharing data between callbacks error #31

@vinaykumar80

Description

@vinaykumar80

Hi,

I am trying to execute the example code given in Dash user guide and documentation explaining Caching and Signaling concept of Sharing data between callbacks - https://dash.plot.ly/sharing-data-between-callbacks , when I try to integrate this code in JupyterDash and run in notebook cell it gives me the following error:

AttributeError Traceback (most recent call last)
in
18 #app = dash.Dash(name, external_stylesheets=external_stylesheets)
19 app=JupyterDash('Caching and Signaling')
---> 20 cache = Cache(app.server, config={
21 'CACHE_TYPE': 'redis',
22 # Note that filesystem cache doesn't work on systems with ephemeral

AttributeError: 'JupyterDash' object has no attribute 'server'

Am I doing something wrong here or how can we get this example working in Jupyter-plotly-dash?
Complete code file (.py) is attached in the zip file

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions