-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TkAgg backend issue #3
Comments
jlstevens commented on 5f28a33 12 days ago Hi If the IPython extension is working properly, you shouldn't be needing matplotlib inline. My first recommendation (as you are using Topographica) is to launch the notebooks with:
This should help get everything configured for you properly. If that doesn't work, try:
And see if there is a traceback - if there is, please post here so we can find the problem! Jean-Luc |
chris-english commented on 5f28a33 11 days ago ./topograpica -n (path-to-file) works fine and as intended. My problem came up due to starting notebook in commandline with: ipython notebook, then selecting Dataviews_Tutorial.ipynb through the check here optioninto the kernel tree and thus my instance didn't have the benefits of sys, external, topo or parsing command line arguments provided by ./topographica. |
Sounds like using I am still wondering about the exception you mentioned in your original post. After setting the As long as you are using topographica, you should be fine. If you do see this error again, please do tell us so we can figure out how to switch the matplotlib backend to 'Agg' correctly to fix the issue. I'll close the issue for now but if you have any more of these problems, I'm happy to reopen it. Jean-Luc |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This conversation has been moved from the inline comments on commit 5f28a33
chris-english commented on 5f28a33 12 days ago
Very happy to explore your Dataviews Tutorial. Imagining really, really new to, well everything, python, linux, topographica, but a burning desire to get one's head around topographica and its many worthy parts some things can go wrong for the uninitiated (like myself, and soon my students...).
My first issues were with modules not found (dataviews), and fixed through appending sys.path for dataviews and param.
That said, in the section - SheetViews, the default backend selected is backend_tkagg.py, which leads to TclError: couldn't connect to display ":0". The sinusoid data is printed but not visualized. Putting %matplotlib inline, in a cell prior to plotting means all your work can be seen by us nubes.
Thanks for your documenting efforts.
Chris English
The text was updated successfully, but these errors were encountered: