domeckert / pyproffit

Pyproffit is a Python code for the analysis of X-ray brightness profiles from clusters of galaxies
GNU General Public License v3.0
18 stars 4 forks source link

do not plot the background profile if bkglink=None #18

Closed botteon closed 2 years ago

botteon commented 2 years ago

As the background profile can never be None (see line 371), this if condition should verify whether a background image was provided in input to determine if the background profile should be plotted