1 Commits

Author SHA1 Message Date
VAN
b5443bf334 fix: force headless matplotlib backend in exec sandbox
The exec sandbox has no GUI session, so Figure.show() can block until the
tool timeout. schemdraw's Drawing defaults to show=True and calls show() on
context exit even after save(), which makes a successfully saved plot look
like a timed-out execution. Pin MPLBACKEND=Agg for model-authored programs.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-11 21:24:47 +08:00