When run in jupyterlab, the TagList.show() method produces html output. However, when run from an ipython console session (e.g. when running ipython from your terminal), nothing happens.
It seems like the culprit is this line, which does not distinguish between the console and notebook/lab:
When run in jupyterlab, the TagList.show() method produces html output. However, when run from an ipython console session (e.g. when running
ipython
from your terminal), nothing happens.It seems like the culprit is this line, which does not distinguish between the console and notebook/lab:
In plotly, it appears they detect the console by running this code:
It seems like the code above would allow auto htmltools to set renderer to "browser" when in an ipython session.
Related to https://github.com/posit-dev/great-tables/issues/100