-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
docstring fixes to pybamm.plotting.quick_plot #3970
docstring fixes to pybamm.plotting.quick_plot #3970
Conversation
add "optional" keyword to "step" argument in dynamic_plot function. Removed round brackets around optional keywords in the arguments "number_of_images", "duration", "output_filename" in create_gif function.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3970 +/- ##
========================================
Coverage 99.58% 99.58%
========================================
Files 257 257
Lines 21251 21251
========================================
Hits 21163 21163
Misses 88 88 ☔ 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.
Just a small comment, but looks good overall!
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.
While the syntax used in your issue description
Fixes # Issue 3392 - Improve documentation (partial fix)
will not work because it is incorrectly formatted, you should not mark a partial fix as with the fixes
tag. When used correctly the fixes
keyword causes the issue to be closed. This would me that this 10 line change would close a much larger ticket.
Usually you can do
Related #3392
to tag the issue without closing it
Added "optional" tag to dynamic variable and added a small description
Fixed PR description to remove "fixes" keyword |
@neilsengupta-elysia I updated your PR description. Having |
Description
Practise contributing to issue for Hackathon:
In the file pybamm.plotting.quick_plot.py, added "optional" keyword to "step" argument in dynamic_plot function. Removed round brackets around optional keywords in the arguments "number_of_images", "duration", "output_filename" in create_gif function.
Related #3392 - Improve documentation
Type of change
Documentation Update