Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions examples/run_ogcore_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,16 @@
from ogcore.parameters import Specifications
from ogcore.constants import REFORM_DIR, BASELINE_DIR
from ogcore.utils import safe_read_pickle
from ogcore.config import set_logging_level
import matplotlib.pyplot as plt

# Show the steady-state root-finding distances and the transition-path
# distance measures while the model solves. Note that when the model is run
# with a distributed Client (num_workers > 1, as below), the per-iteration
# logs are emitted on the Dask worker processes and do not stream back to
# this console; run serially to see the full per-iteration output.
set_logging_level(verbose=True)

# Use a custom matplotlib style file for plots
plt.style.use("ogcore.OGcorePlots")

Expand Down
Loading