Mobile concentration plot not rendering in Permeation barrier modelling
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- jupyter-notebook
- Domain
- data-visualization
Research direction
Open the task04 Permeation barrier modelling page and inspect the cell using profile.times, the mobile concentration plot, and profile_exports. Run the notebook to reproduce the empty plot, compare profile.t with profile.times, and verify that the concentration plot renders while exported timestamps populate profile.times as expected.
Written by the indexing model from the issue text.
Description
In https://festim-workshop.readthedocs.io/en/latest/content/applications/task04.html#model-with-barrier
Error:
/tmp/ipykernel_3252/2865152383.py:23: UserWarning: No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument. axs[0].legend(fontsize=12, reverse=True)
It is caused by the fact that profile.times is empty so nothing is plotted
-> fix by iterating over profile.t instead. Still profile.times should be populated since timestamps are specified when doing the export
profile_exports = [
[F.Profile1DExport](field=spe, subdomain=vol, times=[100, 17000, 8e5])
for spe in model_barrier.species
for vol in model_barrier.volume_subdomains
]
- Dominant language
- Jupyter Notebook
- Stars
- 29
- Forks
- 12
- Avg merge
- 1d 35m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from festim-dev/FESTIM-workshop
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
festim-dev/FESTIM-workshop#174 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
festim-dev/FESTIM-workshop#175 · 1 comment · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
festim-dev/FESTIM-workshop#164 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
festim-dev/FESTIM-workshop#154 · 1 comment ·
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 25/100
festim-dev/FESTIM-workshop#161 ·
All issues in festim-dev/FESTIM-workshop
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AOSSIE-Org/OrgExplorer#245 · 1 assignee ·
-
tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
gordonwatts/test-wsl2-llm#151 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100