plot_step_sizes¶
- jaxrens.postprocess.plotting.plot_step_sizes(monitor_or_trace, *, ax=None, per_run=False, **kwargs)[source]¶
Plot per-move step size vs iteration from the adaptation trace.
When the trace is batched (
n_runs > 1) andper_run=True, draws one line per (move, run) combination. Whenper_run=False(default), plots the mean across runs with a shadedfill_betweenfor ±1 std.- Parameters:
monitor_or_trace – A populated Monitor with a non-None
adaptation_traceor anAdaptationLogdirectly (the latter is whatMonitorCollection.plot_step_sizespasses when the cohort-wide log is loaded byfrom_multi_run_directory).ax (Axes | None) – Existing axes. Created if None.
per_run (bool) – If True, draw individual run lines instead of mean±std.
**kwargs – Forwarded to
ax.plot(not tofill_between).
- Returns:
The Axes object.
- Raises:
ValueError – If no adaptation trace can be resolved.
- Return type:
Axes