Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy do I see differences in Tkinter between two builds?
    text
    copied!<p>I've been using Python 2.7.2 with Tkinter.Tcl version 8.5.11, which I installed using the instructions <a href="http://jholewinski.wordpress.com/2011/07/21/installing-matplotlib-on-os-x-10-7-with-homebrew/" rel="nofollow">here</a>. Recently I did another installation using the instructions <a href="http://www.thisisthegreenroom.com/2011/installing-python-numpy-scipy-matplotlib-and-ipython-on-lion/#lion" rel="nofollow">here</a> in order to get SciPy to build correctly. The newer installation also shows as Python 2.7.2 and Tkinter.Tcl 8.5.11, but the same code does not work on both installs. I am on a Mac running OS X 10.7.2.</p> <p>On the earlier install, LabelFrame() keywords "bd" and "font" are recognized, while on the second install they are not. I can use "borderwidth" instead of "bd" on the second install.</p> <p>On the earlier install, LabelFrame(text="mylabel") displays the text imbedded in the frame. On the second install, the text is displayed outside of the frame. From the description <a href="http://www.tkdocs.com/tutorial/onepage.html" rel="nofollow">here</a> under the heading "Label Frames", I see that is expected behavior, but it is different on the earlier install.</p> <p>The biggest problem is not being able to use named fonts on the second install.</p> <p>This is likely unrelated, but with the second build, importing <code>matplotlib.pylab as plt</code> and then executing <code>plt.plot(mydata); plt.show()</code> displays the plot but then frequently causes python to crash.</p> <p>Any ideas how I might get this working?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload