Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Fiatlight Documentation

fiat_matplotlib: display matplotlib figures

Fiatlight provides FigureWithGui, a viewer for Matplotlib figures.

Example

from fiatlight.fiat_kits.fiat_matplotlib import demo_matplotlib

demo_matplotlib.main()
<PIL.Image.Image image mode=RGB size=1314x450>

Fiat attributes available for the FigureWithGui widget

The FigureWithGui widget is not customizable. However, it can be zoomed by the user and this setting will be saved.

Source code for the example

import fiatlight
from fiatlight.fiat_notebook import look_at_code  # noqa
%look_at_python_file fiat_kits/fiat_matplotlib/demo_matplotlib.py
Loading...