Re: [Matplotlib-users] Trouble embedding toolbar in Tk using grid

2010-03-25 Thread Friedrich Romstedt
2010/3/24 Jonno jonnojohn...@gmail.com: Well I realized my error with the extra window being caused by the TopLevel() command. I switched this to Tk.Tk() and it works nicely. However I still have to pack the frame instead of using grid. I can work around this but I wonder if there isn't

[Matplotlib-users] Trouble embedding toolbar in Tk using grid

2010-03-23 Thread Jonno
I've been trying to modify the embedding_in_tk.py example to use the grid manager instead of pack. I can get the plot to show ok but I can't seem to get the toolbar to show correctly. The following code does get the toolbar on there but it does use pack for the frame and also I always end up with

Re: [Matplotlib-users] Trouble embedding toolbar in Tk using grid

2010-03-23 Thread Jonno
Well I realized my error with the extra window being caused by the TopLevel() command. I switched this to Tk.Tk() and it works nicely. However I still have to pack the frame instead of using grid. I can work around this but I wonder if there isn't something else I'm missing. On Tue, Mar 23, 2010