QUESTION(S): What does the following statement do, and, more importantly, are there any implications on memory use of an application?
from bokeh.settings import settings settings.resources = 'inline'
CONTEXT: A bokeh application is embedded in gunicorn+Flask and deployed to an online platform (Heroku), which constrains memory use. The application has been extended with some Holoviz panel functionality to make use of additional layouts (e.g.
Card) and widgets (e.g. indicator
The issue is documented in more detail on the panel discourse site as Panel Discourse Topic 1724.
The workaround – which still works – is the import and settings assignment mentioned above. And this is the motivation for understanding side effects, if any, particularly related to memory use.