-
-
Notifications
You must be signed in to change notification settings - Fork 572
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
Issue 871 quickplot #886
Issue 871 quickplot #886
Conversation
…nto issue-871-quickplot
Codecov Report
@@ Coverage Diff @@
## develop #886 +/- ##
===========================================
+ Coverage 97.81% 98.00% +0.19%
===========================================
Files 207 207
Lines 10740 10912 +172
===========================================
+ Hits 10505 10694 +189
+ Misses 235 218 -17
Continue to review full report at Codecov.
|
Looks great @tinosulzer so nice being able to sim.plot() for 2D variables now :) I'm just having a play around at the moment and will note a few comments down here: Might be prefereable to change the axis at every time point for 2D variables. For example sim.plot(["Positive current collector potential [V]"] is just a single colour if we use the axis limits across the entire time (instead of at a specific time). Similarly for the concentrations in the particles. Might be better to do in another issue but feel that for 3D variables we should raise a more helpful errors. E.g. for a 2+1D model doing: sim.plot(["Negative particle surface concentration [mol.m-3]"]) fails with I think docs need updated on to show that the inputs to quickplot can be either a simulation or a solution object. |
Do I need to update some widgets packages - I don't see slider on dynamic plot anymore |
@Scottmar93 ok, I will put the changing limits as default and leave the fixed ones as an option. I'll also just raise an error for 3D variables at the start @TomTranter possibly, I have |
@tinosulzer updated and still no slider in windows |
…nto issue-871-quickplot
@Scottmar93 @rtimms can you quickly test this again and approve? |
I just need to figure out how to add the option for fixing axis limits or not |
Description
Improvements to QuickPlot as discussed in #871
Might be good to check out the branch locally and try it to assess the changes
Fixes #871
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.
Key checklist:
$ flake8
$ python run-tests.py --unit
$ cd docs
and then$ make clean; make html
You can run all three at once, using
$ python run-tests.py --quick
.Further checks: