Currently, we are in an air gapped environment and cannot access the NPM_CDN urls.
import panel as pn
pn.config.npm_cdn = "https://foo.com"
pn.extension('vizzu')
data = {
'Name': ['Alice', 'Bob', 'Ted', 'Patrick', 'Jason', 'Teresa', 'John'],
'Weight': 50+np.random.randint(0, 10, 7)*10
}
vizzu = pn.pane.Vizzu(
data, config={'geometry': 'rectangle', 'x': 'Name', 'y': 'Weight', 'title': 'Weight by person'},
duration=400, height=400, sizing_mode='stretch_width', tooltip=True
)
vizzu.servable()
Setting the pn.config.npm_cdn to any custom value leads to **ValueError** : Selector parameter '_config._npm_cdn' does not accept '[https://foo.com](https://foo.com/)'; valid options include: '[[https://unpkg.com](https://unpkg.com/), https://cdn.jsdelivr.net/npm]'
But what can be done when https://cdn.jsdelivr.net/npm/vizzu@0.17.1/dist/vizzu.min.js cannot be accessed? How can I configure this somehow?