Jump to content

Using dash library in Seeq Data Lab


Ayub Lakhani

Recommended Posts

Hello,

Is it possible to implement a Plotly's Dash Dashboard on Seeq Data Lab ?

When I try to implement a trivial example code 

import dash
 
app = dash.Dash(__name__)
 
app.layout = dash.html.Div([
    dash.html.H1("Hello World!")
])
 
if __name__ == "__main__":
    app.run_server()

and run the code. I can't access the development url that it provides, I get the following error. When ran on my local computer, it works fine. I was wondering if Seeq Server is blocking the use of this? It would be nice to be able to implement a Dash's dashboard instead of using ipywidgets or ipyvuetify. Thank you!

image.png.de68eb7ff1c7dad6ceda278f18d50321.png

Link to comment
Share on other sites

  • Administrators

Ayub,

It looks like dash or jupyter-dash is creating/hosting a web server to view the data from. It will be difficult to implement this on a Datalab server because of all the network and containerization complexities you would need to navigate.

As long as you have a Datalab license you can authenticate and use spy (Seeq Python) from any IDE. Since the spy library can be imported into any IDE, I suggest running this locally or creating a server to host it so others can access your work.

Regards,
Teddy

  • Sad 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...