yt.visualization.plot_window.PlotWindow.set_buff_size

PlotWindow.set_buff_size(*args, **kwargs)[source]

Sets a new buffer size for the fixed resolution buffer

Parameters:

size : int or two element sequence of ints

The number of data elements in the buffer on the x and y axes. If a scalar is provided, then the buffer is assumed to be square.