all_cores = leaf_indices.keys()
n_particles = np.array([len(leaf_indices[ic]) for ic in all_cores])
plt.clf()
plt.plot(all_cores, n_particles, marker='*')
plt.ylabel('N_particles')
plt.xlabel('core id')
plt.savefig('n_cores.pdf')

12969fef3c3b6e2237f6a07d42af2ea47e8a1e3f
<mask token>

<mask token>
plt.clf()
plt.plot(all_cores, n_particles, marker='*')
plt.ylabel('N_particles')
plt.xlabel('core id')
plt.savefig('n_cores.pdf')

all_cores = leaf_indices.keys()
n_particles = np.array([len(leaf_indices[ic]) for ic in all_cores])
plt.clf()
plt.plot(all_cores, n_particles, marker='*')
plt.ylabel('N_particles')
plt.xlabel('core id')
plt.savefig('n_cores.pdf')
