add lists to a meshgrid parameter

You need to unpack the lst:

# notice the *
arrs = np.array(np.meshgrid(*lst)).T.reshape(-1,3)

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top