yt.visualization.volume_rendering.transfer_functions.ColorTransferFunction.show

ColorTransferFunction.show(ax=None)[source]

Display an image of the transfer function

This function loads up matplotlib and displays the current transfer function.

Examples

>>> tf = TransferFunction( (-10.0, -5.0) )
>>> tf.add_gaussian(-9.0, 0.01, 1.0)
>>> tf.show()