glumpy / glumpy

Python+Numpy+OpenGL: fast, scalable and beautiful scientific visualization
http://glumpy.github.io
BSD 3-Clause "New" or "Revised" License
1.23k stars 178 forks source link

How to embed glumpy plots into GUI applications? #173

Open ShannonZ opened 5 years ago

ShannonZ commented 5 years ago

How to embed glumpy plots into applications using general-purpose GUI toolkits like Tkinter, wxPython, Qt, or GTK+.

rougier commented 5 years ago

It's not possible with Tkinter but it is possible with the others. To do that, you'll have to call the glumpy event loop regularly (look at the app-*.py examples)

Harvie commented 2 years ago

Can we get glumpy working with tkinter using this library? https://github.com/jonwright/pyopengltk

rougier commented 2 years ago

Might be possible yes. This woudl require to write a specific backend for Tk and test. But as long as you have a GL context somewhere, that should work.