API Reference

Displaying an accessible and interactive plot with multimodal formats

Plots genereated by Matplotlib or Seaborn can be displayed in MAIDR format in default browser. Input plot object as an argument in maidr.show().

Maidr.show Preview the HTML content using the specified renderer.

Saving a maidr plot as an HTML file

Save a plot as an HTML file with maidr.save_html().

Maidr.save_html Save the HTML representation of the figure with MAIDR to a file.

Switching the matplotlib backend

Control whether plt.show() uses the maidr accessible backend or the platform default with maidr.set_backend().

set_backend Switch the matplotlib backend between maidr and the platform default.