easyiec.imaging.fig_to_array#

easyiec.imaging.fig_to_array(fig, close=True)[source]#

Rasterize a matplotlib figure into a uint8 RGB array.