-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'ValueError: array of sample points is empty' with certain randomly generated coordinates #33
Comments
I have some guesses, but I'll actually have to try it out and see what exactly is the issue and how easy it will be to fix. I'm not sure when I'll have enough time to set aside to do debugging, but hopefully soon. |
I have the same error. |
@zilch42 thanks vm for such a helpful repro. I had exactly the same issue and was able to run using dummy_coords2 by widening the theta_range to np.pi/4 from np.pi/16. @lmcinnes is it helpful if i add the ability to set this as you can for |
It would probably be useful -- I would be happy to accept a PR if you can get it done. |
…enerated coordinates TutteInstitute#33 Add theta_range option to allow less restrictive masking
Hi there,
I'm having a weird issue where some sets of coordinates produce a ValueError and other sets of coordinates don't. I'm not exactly sure what the difference between these two coordinate examples is.
I've hard coded two examples of coordinates generated from
np.random.rand()
below.dummy_coords1
is an example that works, anddummy_coords2
is an example that does not. Both were produced bynp.random.rand(12, 2)
datamapplot v0.3.0
The text was updated successfully, but these errors were encountered: