models.plotting.diagram.plot_box#

plot_box(x=0, y=0, z=0, ds=1, ax=None, set_props=True, **kwargs)[source]#

This is a short function to plot a box with a shaded surface. The input coordinates are the zero position of the region spanning (x, y, z) to (x+ds, y+dy, z+dz). It is useful for representing voxels.