Jupyter Notebook inside of a Dash application + dash leafmap example

Figure this was worth sharing, initially started from a desire of wanting to get leafmap working inside Dash this exploratory project grew into getting a Jupter notebook server working inside of Dash.

I was indeed able to get leafmap working inside of dash alongside also getting dash to support a Jupter notebook server that also was capable of running leafmap.

Haven’t been able to find a way to get this working in a production environment but I have it working locally. You can look through the two code examples provided here:

Curious what this could grow into, not sure how in production a jupyter notebook running parallel and hosted on a dash application would function in regards to managing the jupyter instances. Would it be created by each page render, could you set it up to use docker? Could individuals share a notebook at the same time?

Not sure, but I believe this could be a useful addition to some data science dash applications or act as a way to help teach others from your dash application.

Curious what input i can get on the code I used to get to this state and how this could scale into a useful tool for dash.

But regardless,

Pip