show_drizzle_HDU

grizli.multifit.show_drizzle_HDU(hdu, diff=True, mask_segmentation=True, average_only=False, scale_size=1, cmap='viridis_r', show_labels=True, **kwargs)[source]

Make a figure from the multiple extensions in the drizzled grism file.

Parameters:
hdu : HDUList

HDU list output by drizzle_grisms_and_PAs.

diff : bool

If True, then plot the stacked spectrum minus the model.

Returns:
fig : Figure

The figure.