Hi,<br><br>It's a matplotlib question, but the conclusion on how to work with mpl is due to IPython (and programs that interact with mpl similarly) AFAICT.<br><br>So I'm curious if someone can go into a bit more detail about the conclusions of this thread [1]. Namely,<br>
<br>"don't call show or draw_if_interactive in your library code"<br><br>Or rather, what are the exact pitfalls here. I don't understand the possible side effects. Is it still true that draw_if_interactive doesn't play well with the notebooks?<br>
<br>We have plotting functions that are designed to update a given axes. I often work in interactive mode, and I'd like it if these functions updated my axes in the way that I expect (and an R user doing plotting in Python would expect). But now I'm forced to litter my user scripts with draw_if_interactive rather than handle this for the users in the plotting functions. Do I have any other options?<br>
<br>Thanks,<br><br>Skipper<br><br>[1] <a href="https://groups.google.com/forum/#!msg/pystatsmodels/biNlCvJPNNY/BT7bQJmOa1cJ">https://groups.google.com/forum/#!msg/pystatsmodels/biNlCvJPNNY/BT7bQJmOa1cJ</a>