Rise: Show a cell and the figure it creates on separate slides?

Created on 16 Sep 2020  路  4Comments  路  Source: damianavila/RISE

I am new to RISE so this might be a dumb question.

I have several cells that contain a chunk of code that generates a figure.

I'd like to show the code on one slide and the figure on the next. Is that possible?

Currently it shows code and figure on the same slide and it often doesn't fit.

And it seems like you can't scroll within a slide, right?

Thanks!

question

Most helpful comment

Yes, I got scrolling working. I also worked around it by defining a function to draw the figure (one cell) and then calling the function (second cell). That worked well. It also provides the option to hide the first cell if the details of the function are not interesting.

Thanks, @damianavila !

All 4 comments

Hi

No I am sorry I don't know how to do that with the current code
Nothing obvious at least

Ok, thanks.

I found that there is an option to create a scrollbar. I will see if I can get that working.

Nothing obvious at least

That's correct, input and output belong to cells and cells belong to slides. So it is not possible to show some input in one slide and the output in another. You could work around the issue probably duplicating cells and with some extension hidden the output in the first one and the input in the second one. But that's an ugly workaround :wink:
Scrolling as you said could be the most straightforward workaround.

Yes, I got scrolling working. I also worked around it by defining a function to draw the figure (one cell) and then calling the function (second cell). That worked well. It also provides the option to hide the first cell if the details of the function are not interesting.

Thanks, @damianavila !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

damianavila picture damianavila  路  3Comments

josephinemho picture josephinemho  路  6Comments

rinnert picture rinnert  路  3Comments

andreagrandi picture andreagrandi  路  6Comments

neighthan picture neighthan  路  3Comments