def blackbody_spectrum_plot(T_K):
    'Draw the spectrum of a blackbody at the given temperature.'
    spectrum = blackbody_spectrum(T_K)
    title = ('Blackbody Spectrum - T %d K' % int(T_K))
    filename = ('BlackbodySpectrum-%dK' % int(T_K))
    plots.spectrum_plot(spectrum, title, filename, xlabel='Wavelength (nm)', ylabel='Specific Intensity')
Draw the spectrum of a blackbody at the given temperature.
def blackbody_spectrum_plot(T_K):
    
    spectrum = blackbody_spectrum(T_K)
    title = ('Blackbody Spectrum - T %d K' % int(T_K))
    filename = ('BlackbodySpectrum-%dK' % int(T_K))
    plots.spectrum_plot(spectrum, title, filename, xlabel='Wavelength (nm)', ylabel='Specific Intensity')