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

refactor plot_interactive, enforce correct parameter types #157

Merged
merged 2 commits into from
Dec 30, 2022
Merged

Conversation

aloctavodia
Copy link
Contributor

extract function to generate sliders to avoid duplicated code in future functions. Enforce the correct parameter type. This is needed so the slider for bounded has the proper bounds

@codecov-commenter
Copy link

codecov-commenter commented Dec 29, 2022

Codecov Report

Merging #157 (6491805) into main (5668e33) will decrease coverage by 0.02%.
The diff coverage is 83.15%.

@@            Coverage Diff             @@
##             main     #157      +/-   ##
==========================================
- Coverage   76.42%   76.40%   -0.03%     
==========================================
  Files          18       18              
  Lines        2274     2284      +10     
==========================================
+ Hits         1738     1745       +7     
- Misses        536      539       +3     
Impacted Files Coverage Δ
preliz/utils/utils.py 31.48% <13.33%> (-6.99%) ⬇️
preliz/distributions/distributions.py 66.66% <25.00%> (+4.33%) ⬆️
preliz/distributions/continuous.py 93.85% <100.00%> (+0.02%) ⬆️
preliz/distributions/discrete.py 99.40% <100.00%> (ø)
preliz/utils/plot_utils.py 92.06% <100.00%> (+0.06%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@aloctavodia aloctavodia merged commit 8454275 into main Dec 30, 2022
@aloctavodia aloctavodia deleted the slide branch December 30, 2022 19:11
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