- foxes.output.WindFarmsEval.get_area_mapping_plot_layout(area_by_name, n_areas)[source]
Compute an extent-aware figure size and marker size for area mapping plots.
Parameters¶
- area_by_name: dict
Mapping from area names to area geometries. Geometries that expose
p_min()andp_max()are used to derive plot extent.- n_areas: int
Number of legend entries (mapped areas) used to scale vertical space for readable legends.
Returns¶
- figsize: tuple of float
Figure size as
(width, height)in inches.- scatter_size: float
Scatter marker size passed to matplotlib
s.