Welcome to MatplotAlt’s documentation!¶
MatplotAlt’s main function for generating and surfacing alt text is matplotalt.show_with_alt(), with examples in matplotalt Examples.
To generate alt text using an LLM, matplotalt also provides the matplotalt.show_with_api_alt() function, with similar examples in Matplotalt LLM examples.
MatplotAlt includes the alttextify command to automatically add alt text to each figure in a notebook, documented in The alttextify command.
To see more examples and evaluation of our methods, see our preprint.
Finally, other useful functions like matplotalt.infer_chart_type() are documented in the matplotalt API reference.