Skip to content

Commit

Permalink
update notebook for the method paper (#241)
Browse files Browse the repository at this point in the history
* gitignore

* small tweaks in plot functions

* paper notebook
  • Loading branch information
LegrandNico authored Oct 13, 2024
1 parent 838f16d commit 3d995fc
Show file tree
Hide file tree
Showing 3 changed files with 257 additions and 103 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ build
coverage.xm
.mypy_cache
.pytest_cache
dist/*
dist/*
src/hgf/target*
351 changes: 252 additions & 99 deletions docs/paper.ipynb

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/pyhgf/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ def plot_nodes(
s=3,
label="Input",
color="#2a2a2a",
zorder=10,
zorder=2,
)
# plotting standard deviation
if ci is True:
Expand All @@ -479,7 +479,7 @@ def plot_nodes(
y=trajectories_df[f"x_{node_idx}_mean"],
label="Input",
color="#2a2a2a",
zorder=10,
zorder=2,
alpha=0.4,
)

Expand Down Expand Up @@ -570,7 +570,7 @@ def plot_nodes(
s=3,
label="Posterior",
color="#2a2a2a",
zorder=10,
zorder=2,
alpha=0.5,
)
axs[i].legend(loc="lower left")
Expand Down

0 comments on commit 3d995fc

Please sign in to comment.