I have the following code as startup. I need to add an image place in the wx frame to draw stock chart on it.
I found many similar codes on Internet such as this link below but they draw chart on a popup window, not in a wx frame. Is there a way to do it? thanks.
https://matplotlib.org/examples/pylab_ex..._demo.html
I found many similar codes on Internet such as this link below but they draw chart on a popup window, not in a wx frame. Is there a way to do it? thanks.
https://matplotlib.org/examples/pylab_ex..._demo.html
import wx import wx.grid app = wx.App() window = wx.Frame(None, -1, title='Test', size=(960, 850), pos = (-5, 0)) background = wx.Panel(window) background.SetBackgroundColour("Blue") grid = wx.grid.Grid(background, size=(312,150), pos=(0,0)) grid.CreateGrid(6,6) window.Show() app.MainLoop()