I can answer a bit of my own question: > (2) I've been trying to improve it to > > > def showplot(g, **kwargs): > import IPython.display > save(g, 'a.png', kwargs) > IPython.display.display(IPython.display.Image('a.png')) > > > and tried showplot(my_plot, dpi= 1200) to get a larger image, but it > doesn't work... any thoughts? > > OK so *of course* the third line should be
save(g, 'a.png', **kwargs) and it works. But don't try dpi= 1200, or you will end up with a dead kernel ! -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.