MVSamples.plot_uncertainties (function)
def plot_uncertainties(self, sigma=1, unit=None, show=False, **kwargs)
Plot uncertainties as vertical lines and as a latex representation in the axes title.
See also:
- MVSamples.uncertainties
- MVSamples.plot
- MVSamples.plot_sample
- MVSamples.plot_pdf
- MVSamples.plot_cdf
- MVSamples.plot_gaussian
sigma
(int, optional, default=1): sigma to use for uncertainties, passed directly to MVSamples.uncertaintiesunit
(astropy.unit, optional, default=None): units to use along the x-axis. Astropy must be installed.show
(bool, optional, default=True): whether to show the resulting matplotlib figure.**kwargs
: keyword arguments for will be passed on to plt.axvline.
- the return from the plt.axvline calls.
- ImportError: if matplotlib dependency is not met.