-
-
Notifications
You must be signed in to change notification settings - Fork 561
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
[Bug]: Variables names missing from plot #4620
Comments
From #4529 |
@rtimms Sorry missed in the review |
cc: @medha-14, this might be worth a look! |
Ah, I must have missed this , will get to fixing this in a few days. |
Another issue that I believe is related: when plotting 2D variables the colourbar range is wrong. Edit: digging a bit, I suspect the issue for the colourmaps is also to do with the plotting multiple times in the same plot. For 2D this should not be possible so the fix there only requires reverting that code to the previous version and throwing an error if multiple times are passed for a 2D variable. 24.924.11 |
Digging a bit deeper, there also some inconsistencies when plotting multiple solutions in one plot. Given that there are multiple issues to fix (basically the issue is a lot harder than I anticipated in #4271 😅) and plotting is quite a major feature, I suggest reverting #4529 and making a minor release. We can then address this for the next major release. |
PyBaMM Version
24.11.1
Python Version
3.11
Describe the bug
Dynamic plot has no variable labels and shows the legend entries as
t=0.00h
for all plotsSteps to Reproduce
Relevant log output
The text was updated successfully, but these errors were encountered: