matplotlib plot as window in wxnotebook

···

Hi,I am putting together a system model that uses wxpython sliders and

buttons for controls. I would like to use notebook tabs/windows for

different sections and have one notebook window for plotting. I have

hunted through the matplotlib examples but have not found any that use

something other than a wxFrame. I apologize for not digging deep to

solve the problem, but if someone had an example or an explanation of

what is necessary, I would greatly appreciate it.

Thanks,

Pat

Patrick ODonnell wrote:

I have
hunted through the matplotlib examples but have not found any that use
something other than a wxFrame.

It shouldn't be any different. a wx.Frame is a wx.Window, and so it a wx.Notebook page. It's possible that you'll need to put your matplotlib window on a wx.Panel, then put that in the notebook. I haven't messed with Notebooks for a while.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov