yt.visualization.plot_window.ProjectionPlot.set_center

ProjectionPlot.set_center(*args, **kwargs)

Sets a new center for the plot window

Parameters:

new_center : two element sequence of floats

The coordinates of the new center of the image in the coordinate system defined by the plot axes. If the unit keyword is not specified, the coordinates are assumed to be in code units.

unit : string

The name of the unit new_center is given in. If new_center is a YTArray or tuple of YTQuantities, this keyword is ignored.