Git Product home page Git Product logo

Comments (3)

jlstevens avatar jlstevens commented on August 17, 2024

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:

topographica -n

This should help get everything configured for you properly. If that doesn't work, try:

from dataviews import ipython

And see if there is a traceback - if there is, please post here so we can find the problem!

Jean-Luc

from holoviews.

jlstevens avatar jlstevens commented on August 17, 2024

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.
when in doubt, try to follow the directions.chris

from holoviews.

jlstevens avatar jlstevens commented on August 17, 2024

Sounds like using topographica -n resolved the issue!

I am still wondering about the exception you mentioned in your original post. After setting the sys.pathappropriately you should not have seen the error TclError: couldn't connect to display ":0" unless you were running ipython notebook remotely (and on a server without a display set).

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

from holoviews.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.