On 13 December 2016 at 05:48, Yury Zhauniarovich <[email protected]>
wrote:

> Here is the explanation why I need this. I have a loop that calculates
> some statistics for a group and produces a figure for it. Unfortunately,
> once I run this loop, in the output I see at first all the standard output
> with statistics for all groups and then separately graphs for all the
> groups. I would like to organize the output so that the statistics data
> comes right before the graph. Dear community, what can you recommend?


Are you using matplotlib, or a plotting library that builds on top of it?
If so, try explicitly show()-ing and close()-ing the figures at the point
where you want to display them. If you don't do this, then all unclosed
figures are shown after any other output.

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAOvn4qjerTz88PALpR-6B6FCKiU2-jRzA5K263cR%3Dron%2BcvW0g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to