yt.data_objects.selection_data_containers.YTSliceBase.to_pw

YTSliceBase.to_pw(fields=None, center='c', width=None, origin='center-window')[source]

Create a PWViewerMPL from this object.

This is a bare-bones mechanism of creating a plot window from this object, which can then be moved around, zoomed, and on and on. All behavior of the plot window is relegated to that routine.