zblz / naima

Derivation of non-thermal particle distributions through MCMC spectral fitting
http://naima.readthedocs.io
BSD 3-Clause "New" or "Revised" License
43 stars 54 forks source link

Fix numpy deprecated API #170

Closed zblz closed 5 years ago

zblz commented 5 years ago

Use np.array_equal instead of all and elementwise test in naima.core. Other deprecated APIs, such as the normed kwarg in matplotlib hist, have been removed.