easyiec.problems.ChartStyle#

class easyiec.problems.ChartStyle[source]#

Bases: Problem

Styles of a small line/bar chart (colours, widths, grid, fonts, chart type).

The data are fixed; only the visual encoding evolves. Useful to study how people and vision models judge readability and aesthetics of data visualizations; objectives() reports contrast of the series against the background and the minimum distinctness of series colours.

objectives(x)[source]#

Key performance indicators (engineering problems); empty by default.

render_plot(x, ax)[source]#

Plot-type phenotypes (curves, layouts) draw here; used by _image().

utility(x, target=None)[source]#

Default hidden utility in [0, 1] (ground truth of benchmarks).

With a target genome it is a Gaussian similarity of standardized phenotype features; subclasses with explicit objectives override it.

Examples using easyiec.problems.ChartStyle#

Design: palettes, chart styles, faces and network drawings

Design: palettes, chart styles, faces and network drawings