mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
re-added some dropped fixes; ixed ellipticity distribution plotting
This commit is contained in:
parent
ae22f0c036
commit
fe885ea008
2 changed files with 4 additions and 2 deletions
|
@ -167,8 +167,9 @@ def plotEllipDist(catalogList,
|
|||
dataWeights = np.ones_like(data)/len(data)
|
||||
dataHist, dataBins = np.histogram(data, bins=10, weights=dataWeights,
|
||||
range=(0.0,0.35))
|
||||
binCenters = 0.5*(dataBins[1:] + dataBins[:-1])
|
||||
|
||||
plt.plot(dataBins, dataHist, label=sample.fullName,
|
||||
plt.plot(binCenters, dataHist, label=sample.fullName,
|
||||
color=colorList[iSample])
|
||||
|
||||
ellipDistList.append((dataBins, dataHist,))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue