Skip to content

Commit 616ef77

Browse files
authored
Merge pull request #35 from mariuzka/dev
Dev
2 parents c30d9b6 + 883de24 commit 616ef77

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/mesarcade/history_plot.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,9 @@ class ModelHistoryPlot(Figure):
342342
model_attributes: List of model attributes to track. Each element can be
343343
a string (attribute name) or a callable that takes a mesa.Model and
344344
returns a numeric value.
345+
ylim: Optional y-axis limits as [min, max]. If None, limits are
346+
determined automatically from the data. Individual elements can be
347+
None to auto-scale only that bound.
345348
labels: Optional labels for the legend. If None, attribute names are
346349
used for string attributes, or "no label" for callables.
347350
colors: Optional colors for the lines. Accepts color names, RGB tuples,

0 commit comments

Comments
 (0)