Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Dash - printing with subplots

$
0
0

@jezlax wrote:

Hi all,

I wanted to see if anyone has encountered this, I think the know the “hard” fix, but was curious if there was an easy one.

I’ve got a dash app, which has a series of subplots as one of the divs. The catch here is that the length of the subplots is dynamic (based on # of customers in the view triggered by the callback). Might be 9, might be 15. The subplot layout is 2 x n (where n is length of customers/2).

I’ve also got a requirement of being able to print this report, which I’ve been using CSS styling to apply page-break-before to different charts. The catch here being the subplots are all inside one chart figure (usually i can loop and dynamically add that CSS to other figures).

Is there an easy-ish way to add subplots with a page break after the nth row? Or would the solution be to simply add x different subplot objects which each have a page-break-after on them?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles