Coverage for src / quber / core / figures / __init__.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.14.0, created at 2026-09-23 22:14 -0400

1"""The figure workflow: read the charts in a document into its parse. 

2 

3The parse detects a chart and marks the region as one, but the plotted values 

4are never read, so a number that appears only in a chart appears nowhere in the 

5extracted document. This workflow reads them. 

6 

7In: the parse, and the source document. Out: that same parse enriched, written 

8back under the name it was read from, and the page scans. 

9""" 

10 

11from quber.core.figures.models import ChartContext, FigureRecord, FigureRun, PageScan 

12from quber.core.figures.orchestrator import ChartOutput, run_figures, run_figures_sync 

13 

14__all__ = [ 

15 "ChartContext", 

16 "ChartOutput", 

17 "FigureRecord", 

18 "FigureRun", 

19 "PageScan", 

20 "run_figures", 

21 "run_figures_sync", 

22]