SIGN IN SIGN UP

fix matplotlib `Figure already exist` error while running view in parallel via smallbaselineApp (#1503)

+ view.py:
   - set matplotlib.use('Agg') BEFORE importing pyplot, and switch backend in `viewer.configure()`.
   - properly close fig object
   - do NOT specify the `num` while calling subplots(), to avoid potential conflicts between parallel processes of view.py calls

+ smallbaselineApp.plot_results(): use `multiprocessing` backend while calling joblib.Parallel()
Z
Zhang Yunjun committed
496cc697176a063617c05843c2d1b1153e5b8c0c
Parent: 2c42c38
Committed by GitHub <noreply@github.com> on 7/9/2026, 6:44:02 AM