yt.extensions.volume_rendering.plot_rgb

yt.extensions.volume_rendering.plot_rgb(image, name, label=None, label_color='w', label_size='large')

This will plot the r,g,b channels of an image of shape (N,M,3) or (N,M,4). name is the prefix of the file name, which will be supplemented with “_rgb.png.” label, label_color and label_size may also be specified.

Previous topic

yt.extensions.volume_rendering.plot_channel

Next topic

yt.extensions.image_writer.multi_image_composite

This Page