catherinezucker / radfil

Building Radial Density Profiles for Interstellar Filaments
GNU General Public License v3.0
14 stars 8 forks source link

Change np.min to np.nanmin #34

Closed battersbot closed 3 years ago

battersbot commented 3 years ago

Change np.min to np.nanmin so that colorscale works automatically in plotCuts with data that contains NaNs

battersbot commented 3 years ago

Embarassingly haven't used GitHub for this purpose before, so apologies if my "pull" request is incorrect, but just suggesting one small change in RadFil to work with data that has NaN values (I think).

catherinezucker commented 3 years ago

Looks good -- thanks Cara!