Skip to content

Commit

Permalink
Supress warning with duplicate citation
Browse files Browse the repository at this point in the history
  • Loading branch information
finsberg committed Sep 6, 2024
1 parent 2e96d54 commit c467051
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ sphinx:
html_last_updated_fmt: "%b %d, %Y"
bibtex_bibfiles: ["docs/refs.bib"]
nb_execution_show_tb: True
suppress_warnings: ["mystnb.unknown_mime_type"]
suppress_warnings: ["mystnb.unknown_mime_type", "bibtex.duplicate_citation"]
nb_custom_formats: # https://jupyterbook.org/en/stable/file-types/jupytext.html#file-types-custom
.py:
- jupytext.reads
Expand Down
6 changes: 2 additions & 4 deletions examples/regazzoni_bleeding.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,14 @@
ax[0, 0].plot(regazzoni_normal.results["V_LV"], regazzoni_normal.results["p_LV"])
ax[0, 0].set_xlabel("V [mL]")
ax[0, 0].set_ylabel("p [mmHg]")
ax[0, 0].set_title("All beats")
ax[0, 0].set_title("Normal")
ax[1, 0].plot(regazzoni_normal.results["V_LV"][-N_normal:], regazzoni_normal.results["p_LV"][-N_normal:])
ax[1, 0].set_title("Last beat")
ax[1, 0].set_xlabel("V [mL]")
ax[0, 1].plot(regazzoni_bleed.results["V_LV"], regazzoni_bleed.results["p_LV"])
ax[0, 1].set_xlabel("V [mL]")
ax[0, 1].set_ylabel("p [mmHg]")
ax[0, 1].set_title("All beats")
ax[0, 1].set_title("Bleeding")
ax[1, 1].plot(regazzoni_bleed.results["V_LV"][-N_bleed:], regazzoni_bleed.results["p_LV"][-N_bleed:])
ax[1, 1].set_title("Last beat")
ax[1, 1].set_xlabel("V [mL]")
plt.show()

Expand Down

0 comments on commit c467051

Please sign in to comment.