yt.extensions.eps_writer.DualEPS.axis_box_yt

DualEPS.axis_box_yt(plot, units=None, bare_axes=False, **kwargs)

Wrapper around DualEPS.axis_box to automatically fill in the axis ranges and labels from a yt plot.

This also accepts any parameters that DualEPS.axis_box takes.

Parameters :

plot : yt.raven.RavenPlot

yt plot on which the axes are based.

units : string

Unit description that overrides yt’s unit description. Only affects the axis label.

bare_axes : boolean

Set to true to have no annotations or tick marks on all of the axes.

Examples

>>> p = pc.add_slice('Density', 0, use_colorbar=False)
>>> d = DualEPS()
>>> d.axis_box_yt(p)
>>> d.save_fig()

Previous topic

yt.extensions.eps_writer.DualEPS.axis_box

Next topic

yt.extensions.eps_writer.DualEPS.circle

This Page