I’ve been trying to get ipyaladin
to work with panel
, but somehow it’s not working.
This is the environment file:
name: testipyaladin
channels:
- conda-forge
- nodefaults
dependencies:
- python
- jupyterlab
- pip
- pip:
- ipyaladin
- ipywidgets_bokeh
- panel
This is the code I am using:
import panel as pn
from ipyaladin import Aladin
aladin = Aladin()
pn.Row(aladin).servable()
Then trying to run: panel serve --show test.py
.
From what I understand (using Web Inspector in the browser), there is a reference to a variable A that is not instantiated properly (or in the proper scope). I tried using option js_files
in pn.extension
, but that did not help:
js_files = {
"aladin": "https://aladin.cds.unistra.fr/AladinLite/api/v3/latest/aladin.js",
}
pn.extension(
js_files=js_files,
)