yt.visualization.plot_window.PlotWindow.display

PlotWindow.display(*args, **kwargs)

Will attempt to show the plot in in an IPython notebook. Failing that, the plot will be saved to disk.