mirror of
https://github.com/vale981/master-thesis
synced 2025-03-05 10:01:43 -05:00
update figsaver and plot utils
This commit is contained in:
parent
6b28f468ed
commit
260521dccf
2 changed files with 14 additions and 0 deletions
|
@ -150,6 +150,7 @@ MPL_RC = {
|
||||||
"xtick.labelsize": 5,
|
"xtick.labelsize": 5,
|
||||||
"ytick.labelsize": 5,
|
"ytick.labelsize": 5,
|
||||||
"figure.constrained_layout.use": True,
|
"figure.constrained_layout.use": True,
|
||||||
|
# "text.latex.preamble": r"\usepackage{mathtools}",
|
||||||
}
|
}
|
||||||
|
|
||||||
MPL_RC_POSTER = {
|
MPL_RC_POSTER = {
|
||||||
|
|
|
@ -748,3 +748,16 @@ def plot_multi_energy_overview(
|
||||||
ax_sys.legend(
|
ax_sys.legend(
|
||||||
# ncol=2,
|
# ncol=2,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@wrap_plot
|
||||||
|
def plot_ρ(model, i, j, ax=None, **kwargs):
|
||||||
|
with aux.get_data(model) as data:
|
||||||
|
return plot_with_σ(
|
||||||
|
model.t,
|
||||||
|
EnsembleValue(
|
||||||
|
(data.rho_t_accum.mean[:, i, j], data.rho_t_accum.ensemble_std[:, i, j])
|
||||||
|
),
|
||||||
|
ax=ax,
|
||||||
|
**kwargs,
|
||||||
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue