7.7.8. mclearn.viz.plot_filters_and_spectrum

mclearn.viz.plot_filters_and_spectrum(filter_url, spectrum_url, filter_dir='', spectra_dir='', ax=None)[source]

Plot ugriz filters and spectrum in the same figure.

filter_url : str
The url where the ugriz filters can be obtained.
spectrum_url : str
The url where the spectrum data can be obtained.
ax : Matplotlib Axes object
A matplotlib Axes instance.
Returns:ax – The matplotlib Axes instance where the figure is drawn.
Return type:Matplotlib Axes object