Skip to content

Conversation

montanarograziano
Copy link

Reference Issues/PRs

Fixes #236.

What does this implement/fix? Explain your changes.

num_points in plotting methods now is either float or int, and behaves accordingly.
If it's a float, the number of selected points is computed as:
ceil(num_points * y.select(pl.len()).item())

Any other comments?

I'm not sure how to write unit tests (and if they are necessary) for this feature, as it's just a small math computation.

Copy link

vercel bot commented Jun 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
functime-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2024 8:29pm

@baggiponte
Copy link
Collaborator

Ciao Graziano, thanks for the PR, Should have time to review tomorrow. Sorry for the late reply but this week was tough!

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

Successfully merging this pull request may close these issues.

% support for plotting num_points param
2 participants