Open jeinstei opened 6 years ago
It seems like the length of verts isn't matching the shape of v_bins. len(ps_histo) returns 50, while v_bins returns 51 in hpsim.py. Details:
p_histo.shape, v_bins.shape, u_bins.shape, nbins
(50, 50) (51,) (51,) 50
p_histo.shape, v_bins.shape, u_bins.shape, new_bins
(50, 50) (51,) (51,)
Bug is here: ax.add_collection3d(poly, zs=v_bins, zdir='y')
Can at least plot by changing it to: ax.add_collection3d(poly, zs=v_bins[0:-1], zdir='y')
I'm trying to run sim-lbeg.py and getting matplotlib errors. I was wondering if you've seen these before?