Function.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:
- Function.uncertainties
- Function.plot
- Function.plot_sample
- Function.plot_pdf
- Function.plot_cdf
- Function.plot_gaussian
Arguments
sigma
(int, optional, default=1): sigma to use for uncertainties, passed directly to Function.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.
Returns
- the return from the plt.axvline calls.
Raises
- ImportError: if matplotlib dependency is not met.