I would like to create plots in jupyter ROOT notebooks without showing the canvas.Draw() commands. Is it possible to redirect the output of a cell to a different cell (possibly a markdown one)? Is there a workaround for it?
it is presently not possible to redirect the output to a markdown cell. What can be done is to use the TCanvas::Print method to create an image and then pick it up in the markdown.
And can I call TCanvas::Print() without creating a separate external file (eg. can the output be stored only as an embedded html element)?
Not directly. Perhaps using StringIO.
I think we do not provide this functionality yet.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.