Eunoia

eunoia.VennFit

Python · python · 0.6.0

Bases: eunoia.EulerFit[S]

VennFit(
    shapes: tuple[S, ...],
    original_values: dict[str, float],
    fitted_values: dict[str, float],
    residuals: dict[str, float],
    region_error: dict[str, float],
    diag_error: float,
    stress: float,
    loss: float,
    container: Container | None = None,
    members: dict[str, list[str]] | None = None,
    plot_data: dict[str, typing.Any] = <factory>
)

Constructor inherited from EulerFit.

Result of laying out a (non-proportional) Venn diagram.

Shares EulerFit's structure and plot() method, but the diagram is topological: every set intersection is drawn regardless of its area, so the area-proportional error metrics are not meaningful and are left at zero. fitted_values holds the geometric area of each region; original_values is empty (a Venn layout has no requested areas).

Inherited members