I’m trying to experiment with building and publishing a panel app in the anaconda cloud notebook, starting from the info on this page Publishing notebooks — Anaconda documentation and the related links
However I’m having with issues with several aspects. I have been able to created a notebook and have interactive plots within the notebook, following this Build an App — Panel v1.6.1 but I cannot preview or publish the app.
The suggested kernel anaconda-panel-2023.05-py310 is not available from the kernel selector options. I am instead using a custom kernel will panel and hvplot installed but I don’t know if I’m missing other packages.
Save and Publish is not working. Nothing happens, not even an error message, the button just changes to retry.
When you select My Apps from the JupyterLab launcher you are brought to Apps Management which only shows “Featured Apps” and My Learning, and all of the Featured Apps on anacondaapps.cloud give a 404 error, e.g. 404 not found
There appear to be no courses available on the learning portal about panel/apps and the course “Build and Deploy Data Apps in Anaconda Notebooks” is no longer available.
Has this capability been discontinued or is it just broken? What am I missing. Please update your docs if something has changed.
Sorry to hear you’ve been having some issues, some of those docs and do indeed need an update so I’ll work with the team to get those fixed ASAP.
I think most of those issues are coming from the custom environment that you are using.
Unfortunately that means using one of the pre-built environments we have there. We will be generating a new one soon that will contain the Panel v1.6.1 update as well. Was there any functionality in that version in particular that you were looking to test?
Could you create a new notebook and see if this very simple app will run with the anaconda-ai-2024-04.py310 environment, just to check the underlying tech is working.
import panel as pn
# Activate the Panel extension and set the template to 'material'
pn.extension(template='material')
# Create an integer slider widget named 'number'
number = pn.widgets.IntSlider(value=3, start=0, end=10, name='number')
# Create another integer slider widget named 'size'
size = pn.widgets.IntSlider(value=10, start=10, end=25, step=5, name='size')
# Create a Column layout that contains the 'number' slider, the 'size' slider, and a Markdown pane
pn.Column(
number, size,
pn.pane.Markdown(
# Display a string of stars ('⭐') based on the value of the 'number' slider
pn.bind(lambda n: "⭐" * n, number),
# Set the font size of the Markdown pane based on the value of the 'size' slider
styles=pn.bind(lambda size: {'font-size': f'{size}px'}, size)
)
).servable()
Checking in with our Learning team on the course we used to provide and will update the docs if it has indeed been deprecated.
Thanks for your patience and sorry again for the frustrating experience!
Jack