MatplotAlt: A Python Library for Adding Alt Text to Matplotlib Figures in Computational Notebooks

Kai Nylund 1 and Jennifer Mankoff 1 and Venkatesh Potluri 2 1 Paul G. Allen School of Computer Science & Engineering, University of Washington 2 University of Michigan School of Information [email protected] · 2025

Read MatplotAlt: A Python Library for Adding Alt Text to Matplotlib Figures in Computational Notebooks by Kai Nylund 1 and Jennifer Mankoff 1 and Venkatesh Potluri 2 1 Paul G. Allen School of Computer Science & Engineering, University of Washington 2 University of Michigan School of Information [email protected] (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2503-20089.txt.

Description

Kai Nylund and co-authors build a Python tool that writes descriptions of charts for readers who cannot see them. Their 2025 paper presents MatplotAlt, which adds alternative text to figures made with the Matplotlib library inside Jupyter notebooks. One line of code or command generates and surfaces the caption, with options to tune its style and depth.

The team tested two generation routes: rule-based descriptions drawn from the figure's own data, and large language model drafts. Pure model output still made factual slips about charts. Feeding the model the rule-based text or the parsed data table as grounding cut those errors. The authors offer the library as open source. Their evaluation argues for hybrid design in accessibility tools: let code supply the facts, and let the model supply the fluency.

Catalog record

CREATORKai Nylund 1 and Jennifer Mankoff 1 and Venkatesh Potluri 2 1 Paul G. Allen School of Computer Science & Engineering, University of Washington 2 University of Michigan School of Information [email protected]
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE89 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2503-20089

Browse the full library · About the Tower of Babel