I am running fastplotlib (v0.5.1) in a headless server and I'd like to export the render of my figure however I can't seem to make the Figure.export method work...
Here is a small reproduction of my problem:
import fastplotlib as fpl
import numpy as np
if __name__ == "__main__":
fig = fpl.Figure(canvas="offscreen", size=(900, 600))
fig[0, 0].add_image(np.random.rand(100, 100, 3))
rgb = fig.export_numpy(rgb=True)
This throws AttributeError: 'Ordered2FragmentBlender' object has no attribute 'color_tex'
I might forget something, I am quite new to fpl !