Skip to content
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

Error running Datoviz-test: python -c "import datoviz; datoviz.demo()" #41

Open
NikolausJacob opened this issue Apr 25, 2022 · 2 comments
Assignees

Comments

@NikolausJacob
Copy link

NikolausJacob commented Apr 25, 2022

Datoviz - Installation guide for Windows: Running Datoviz test
python -c "import datoviz; datoviz.demo()"
gets following error:

13:40:01.092 W C:\Users\cross\Documents\GitHub\datoviz\src\ticks.h:0695: automatic tick positioning on interval [-inf, 3.696173] failed (found [-inf-3.696173] with step inf
Assertion failed: (N > 0), file C:\Users\cross\Documents\GitHub\datoviz\src\axes.h, line 141

@rossant rossant self-assigned this Apr 29, 2022
@chittti
Copy link

chittti commented Sep 13, 2022

I also run into the error on Windows 10 when running datoviz.exe demo. This particular issue is with demo_scatter() function.

I see the same error when I compile the standalone_scene.c, which is very similar but about 50% of the time instead of 100% of the time.

The difference between these looks to be the number of markers being rendered. So I changed the value of N to 50, and I don't see any of the same errors, in both the demo executable or the standalone code.

The demo still crashes, but it does render the canvas properly before it crashes. Looks to be an issue when it tries to save the screenshot, but that's an unrelated issue.

@rossant
Copy link
Contributor

rossant commented Sep 13, 2022

Thanks for the bug reports. Windows remains a pretty much untested platform, but I'll work on improving this in the coming months.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants