From: Delbert D. F. <iq...@so...> - 2004-12-19 02:07:23
|
I have been making good progress in creating a simple plotting package for time series read from files. I would now like to embed this into TK. Using some extrapolation and even a bit of guess work I have cut and pasted material from .../examples/embedding_in_tk.py and have a nice window popping up with a quit button and part of what I want. The axis labels are missing and so is the toolbar-items that need to be present. How does one add labels for the x and y axes as well as get the toolbar to appear in the example: embedding_in_tk.py? They both appear when the non-embedded script is run. I have searched the examples and tried sever val options but nothing works. Why the toolbar appears in one case but not the other is currently unclear to me. Quite impressed with matplotlib but the learning curve is steep and I am feeling my way along a tortuous cave in dim light!! Delbert Franz |