def generate_skymap(samples, **kwargs):
    """Generate a skymap from a SamplesDict object

    Parameters
    ----------
    samples: pesummary.utils.samples_dict.SamplesDict
        samples you wish to generate a skymap for
    **kwargs: dict, optional
        all additional kwargs are passed to the `.plot()` method
    """
    return samples.plot(type="skymap", **kwargs)