yt.visualization.fixed_resolution.CylindricalFixedResolutionBuffer.convert_distance_x

CylindricalFixedResolutionBuffer.convert_distance_x(distance)

This function converts code-space distance into pixel-space distance in the x-coordiante.

Parameters:

distance : array_like

This is x-distance in code-space you would like to convert.

Returns:

output : array_like

The return value is the distance in the y-pixel coordinates.