Hacker News new | ask | show | jobs
by ropeladder 1417 days ago
This looks great! I'm curious though if there are ways to get a bit more control over page layout. For example, can you put three charts on one page and have them resize appropriately? Or put two charts next to each other (without relying on the charting library itself)? This functionality is pretty important for our use case, but I've been assuming that notebook-style formats, when they output to pdfs or a printed page, are just going to output html that gets split up by the rendering engine.
1 comments

This kind of thing is coming soon. This is something that will work with shiny for python [1] which will be integrated with Quarto (which nbdev is built on top of). When its more stable, this is something we will look into integrating.

In the meantime, the home page for nbdev https://nbdev.fast.ai/ is built with a notebook, and as you can see it is reactive and resizes appropriately. You could follow this example to do something if you wanted to do something today.

[1] https://shiny.rstudio.com/py/