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

add sampling periods #144

Closed
wants to merge 2 commits into from
Closed

Conversation

LouClement
Copy link
Collaborator

No description provided.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Member

@callumrollo callumrollo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Louis, thanks for the PR! Just a couple of changes I'd recommend:

  • vars is a built in python function, so should not be used as a variable name. Consider variable or variables instead (see a full list of built ins here https://docs.python.org/3/library/functions.html).
  • Following the conventions of other functions, plot_sampling_period_all should return fig, ax so that the user can make additional changes to the plots/easily save them.

Thank you for including example usage and tests.

Also try to avoid making a PR from your main branch! It's good practice to develop on a dedicated branch, so that if other PRs are merged while we work on this one you can pull those changes in. Should be fine this time though as this is the only open PR

@callumrollo
Copy link
Member

merged in #145

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.

2 participants