Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Display a graph(not the image) on pygame

Do you guys know how to display a built plotly chart on pygame? Or do you know an other great library to display graph on pygame? I don’t want to just display an image of the graph. Thanks

There’s a library called GIFImage for Pygame which displays GIFs if that’s suffice for what you’re looking for. There’s also a MatplotlibPygame application but you also just get a static image of your plot and nothing interactive. Beyond this I don’t have a solution.