-
Notifications
You must be signed in to change notification settings - Fork 6
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
test_fishery_dynamics.py creating test file using pytest for fishery_dynamics.py file #107
Conversation
Fixing corrected imports, import from msdbook getting the fishery_dynamics module, to ensure that the fishery_dynamics.py file is indeed in the msdbook package directory. Fixing the color bars, checking color bars in matpoltib used plt.colorbar replaced fig.colorbar.
Removed the comment next to the import message. Should fix the error module 'matplotlib.pyplot' has no attribute 'Colorbar'.
…uncertainty_ebook into Jaydon2005-patch-1
… deprecated get_cmap method
…rning while running the plotting functions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
…cm.get_cmap("RdBu_r") with plt.colormaps["Blues"] and plt.colormaps["RdBu_r"]
…ery_dynamics.py creating test file using pytest for fishery_dynamics.py file
converted to draft since checks are failing |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #107 +/- ##
==========================================
+ Coverage 2.07% 45.49% +43.41%
==========================================
Files 9 11 +2
Lines 529 633 +104
==========================================
+ Hits 11 288 +277
+ Misses 518 345 -173 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, thanks!
Thank you, Travis! I will merge this PR. |
This Branch is branching off of the dev branch testing the fishery dynamics file using pytest , changed from fishery_dynamics to from msdbook.fishery_dynamics and has pyproject.toml with mock & pytest. Added from matplotlib.colorbar import colorbar