DarkEnergySurvey / ugali

Ultra-faint galaxy likelihood toolkit
MIT License
14 stars 15 forks source link

bug in plotMembership in ugali.utils.plotting #76

Closed willcerny closed 3 years ago

willcerny commented 3 years ago

In Line 1219 and 1220 of ugali.utils.plotting.py, an error is returned in calls to plotMembership because of a reference to self.isochrone.band_1 and self.isochrone.band_2. The "self" should be removed in both cases.

Also, the axes labels are swapped - line 1219 should be set_xlabel and 1220 should be set_ylabel