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

stepsize throwing error #86

Open
djmgit opened this issue Feb 1, 2018 · 2 comments
Open

stepsize throwing error #86

djmgit opened this issue Feb 1, 2018 · 2 comments

Comments

@djmgit
Copy link
Member

djmgit commented Feb 1, 2018

Floating point step size is causing error.
For example - The following throws error:
python plotit.py -f x -z 0.2

@realsdx
Copy link
Contributor

realsdx commented Feb 1, 2018

python range() doesn't support float step size, probably numpy has something like that.
It is possible to create a function to mimic the job using range, but it will have some serious rounding errors.
best is probably handling the exception.

@djmgit
Copy link
Member Author

djmgit commented Feb 1, 2018

@realsdx for now create a custom function, later we can explore other alternatives.

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

2 participants