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

dc.contributor.authorNylund, Kaien_US
dc.contributor.authorMankoff, Jenniferen_US
dc.contributor.authorPotluri, Venkateshen_US
dc.contributor.editorAigner, Wolfgangen_US
dc.contributor.editorAndrienko, Nataliaen_US
dc.contributor.editorWang, Beien_US
dc.date.accessioned2025-05-26T06:37:33Z
dc.date.available2025-05-26T06:37:33Z
dc.date.issued2025
dc.description.abstractWe present MatplotAlt, an open-source Python package for easily adding alternative text to Matplotlib fgures. MatplotAlt equips Jupyter notebook authors to automatically generate and surface chart descriptions with a single line of code or command, and supports a range of options that allow users to customize the generation and display of captions based on their preferences and accessibility needs. Our evaluation indicates that MatplotAlt's heuristic and LLM-based methods to generate alt text can create accurate long-form descriptions of both simple univariate and complex Matplotlib fgures. We fnd that state-of-the-art LLMs still struggle with factual errors when describing charts, and improve the accuracy of our descriptions by prompting GPT4-turbo with heuristic-based alt text or data tables parsed from the Matplotlib fgure.en_US
dc.description.sectionheadersInclusive Visualization
dc.description.seriesinformationComputer Graphics Forum
dc.identifier.doi10.1111/cgf.70119
dc.identifier.issn1467-8659
dc.identifier.pages12 pages
dc.identifier.urihttps://doi.org/10.1111/cgf.70119
dc.identifier.urihttps://diglib.eg.org/handle/10.1111/cgf70119
dc.publisherThe Eurographics Association and John Wiley & Sons Ltd.en_US
dc.rightsAttribution 4.0 International License
dc.rights.urihttps://creativecommons.org/licenses/by/4.0/
dc.titleMatplotAlt: A Python Library for Adding Alt Text to Matplotlib Figures in Computational Notebooksen_US
Files
Original bundle
Now showing 1 - 2 of 2
Loading...
Thumbnail Image
Name:
cgf70119.pdf
Size:
1.04 MB
Format:
Adobe Portable Document Format
Loading...
Thumbnail Image
Name:
1133-file-i8.pdf
Size:
1.61 MB
Format:
Adobe Portable Document Format
Collections