-
Something along these lines: (backslashes introduced only to escape here in markdown) Having this in a code cell in the notebook.
What I would like to see is the dropdown rendered correctly in the notebook. What I get now is just this:
The idea would be to generate the dropdowns with sphinx-panels, but introduce some arbitrary content, like plots for example. Actually what I am aiming is to have some tabbed output with plots. I could use ipywidgets or bokeh for this, the problem I am having there is that if I have too many tabs, I cannot read the labels on them anymore as the width gets collapsed. I was hoping that maybe with sphinx panels or sphinx tabs it would look better. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
you could try combining this with pasting code outputs via |
Beta Was this translation helpful? Give feedback.
-
Yep. I'll give it a try thanks. (Once I discover why my tabs are not rendering, I have another question about that) However I was thinking more in the direction of what if I don't know in advance how many tabs are there going to be ... that's why I was thinking on generating markdown programatically. That's the way you do it in Rmarkdown. |
Beta Was this translation helpful? Give feedback.
Yep. I'll give it a try thanks. (Once I discover why my tabs are not rendering, I have another question about that)
However I was thinking more in the direction of what if I don't know in advance how many tabs are there going to be ... that's why I was thinking on generating markdown programatically. That's the way you do it in Rmarkdown.