Skip to content

lit_sb3.core.plots

source package lit_sb3.core.plots

Core plotting helpers — re-export plot functions from core/cli.

Adapted from https://github.com/DLR-RM/rl-baselines3-zoo/blob/master/rl_zoo3/plots/init.py

Functions

  • all_plots — Gather, aggregate and plot results from multiple experiments (parse args then run).

  • plot_from_file — Load results from a pickle file and plot them (parse args then run).

  • plot_train — Plot training reward or success rate (parse args then run).

  • restyle_boxplot — Style a matplotlib boxplot to look nicer.

source all_plots() → None

Gather, aggregate and plot results from multiple experiments (parse args then run).

source plot_from_file() → None

Load results from a pickle file and plot them (parse args then run).

source plot_train() → None

Plot training reward or success rate (parse args then run).

source restyle_boxplot(artist_dict: dict[str, Any], color: Any, gray: str = '#222222', linewidth: float = 1, fliersize: float = 5) → None

Style a matplotlib boxplot to look nicer.