diff --git a/python_tools/void_python_tools/voidUtil/plotUtil.py b/python_tools/void_python_tools/voidUtil/plotUtil.py index 2314470..0624c60 100644 --- a/python_tools/void_python_tools/voidUtil/plotUtil.py +++ b/python_tools/void_python_tools/voidUtil/plotUtil.py @@ -58,6 +58,8 @@ def plotNumberFunction(catalogList, print "Plotting number function" + catalogList = np.atleast_1d(catalogList) + plt.clf() plt.xlabel("$R_{eff}$ [$h^{-1}Mpc$]", fontsize=14) @@ -160,6 +162,8 @@ def plotEllipDist(catalogList, ellipDistList = [] + catalogList = np.atleast_1d(catalogList) + for (iSample,catalog) in enumerate(catalogList): sample = catalog.sampleInfo data = getArray(catalog.voids, 'ellipticity')