You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FactorGraphModel.visualize_combined (autofit/graphical/declarative/collection.py) routes EVERY factor into the lead factor's Visualizer.visualize_combined. Mixed-dataset graphs (AnalysisImaging + AnalysisWeak, first built by the weak series' combined strong+weak example) crashed until PyAutoLens's visualizers grew type filters (PyAutoLabs/PyAutoLens#587). This fixes the producer.
Plan
Group model_factors by their analysis Visualizer class; for each group call the group lead's visualize_combined with that group's factors and the matching sub-instances (order preserved).
Homogeneous graphs: exactly one group → today's call, byte-identical behaviour.
The PyAutoLens type filters stay as defence in depth.
Unit test with two stub Visualizer classes recording which factors/instances they received.
Work-type refactor (cap safe); --auto continuation 2026-07-09 with in-session merge authorization. Branch feature/factor-graph-viz-dispatch (parallel to the EP tasks' PyAutoFit claims — disjoint files).
Shipped ✅ — PR #1340 merged, CI green. Mixed-dataset factor graphs now dispatch one combined-visualization call per Visualizer type (homogeneous graphs byte-identical to before); the PyAutoLens type filters from PyAutoLabs/PyAutoLens#587 remain as defence in depth. Closing.
Activity
Jammy2211 commentedon Jul 9, 2026
Shipped ✅ — PR #1340 merged, CI green. Mixed-dataset factor graphs now dispatch one combined-visualization call per Visualizer type (homogeneous graphs byte-identical to before); the PyAutoLens type filters from PyAutoLabs/PyAutoLens#587 remain as defence in depth. Closing.