You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've observed that importing hvplot in a notebook adds a few empty lines in the output cell (holoviz/holoviews#5154):
After some digging I found that that under the hood it was using the publish_display_data function of the IPython.display module. When executed in a notebook (here with Jupyter lab) this function does indeed add an empty line every time it's called:
Is this a bug?
Is there a way to prevent this behavior?
A more general question would be to ask if there's another way to inject javascript/css/json code/data in a notebook rather than by publish_display_data? It seems to me that what is required by hvplot in the first example I shared (handled by Panel under the hood) could be added in the global metadata of the notebook instead of in a particular cell. But I'm not well versed in the Jupyter format and comms so feel free to ignore this question if totally irrelevant ;) !
The text was updated successfully, but these errors were encountered:
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
I've observed that importing hvplot in a notebook adds a few empty lines in the output cell (holoviz/holoviews#5154):
After some digging I found that that under the hood it was using the
publish_display_data
function of theIPython.display
module. When executed in a notebook (here with Jupyter lab) this function does indeed add an empty line every time it's called:A more general question would be to ask if there's another way to inject javascript/css/json code/data in a notebook rather than by
publish_display_data
? It seems to me that what is required by hvplot in the first example I shared (handled by Panel under the hood) could be added in the global metadata of the notebook instead of in a particular cell. But I'm not well versed in the Jupyter format and comms so feel free to ignore this question if totally irrelevant ;) !The text was updated successfully, but these errors were encountered: