Git Product home page Git Product logo

jupyter-vim's Issues

Can't change console theme

I'm running nvim on Ubuntu 20.04, when I run jupyter qtconsole, the console opens up but I want to change the colorscheme which isn't happening and I'm getting the following error in the terminal

TypeError: <lambda>() missing 1 required positional argument: 'v'

Python version 3.9.5

`block` is not a valid parameter to iopub_channel get_msgs

https://github.com/broesler/jupyter-vim/blob/ca4296f/pythonx/jupyter_vim.py#L273 is
msgs = kc.iopub_channel.get_msgs(block=False)

This didn't work for me. According to https://github.com/jupyter/jupyter_client/blob/master/jupyter_client/blocking/channels.py#L59 get_msgs doesn't take any parameters (aside from self), and setting block to False is unnecessary since it only returns msgs that are currently ready.

block=True is a valid parameter to get_msg (singular) and it's what get_msgs uses internally.

Should g:jupyter_monitor_console=1 be the default?

This one might be a bit controversial: Given that you need configuration in order to see output in jupyter console/qtconsole, I'd recommend making g:jupyter_monitor_console=1 the default. This would make jupyter-vim have a less steep learning curve. It's a lot easier to disable the console once you have the tool working than to be running the tool and be frustrated that you don't see anything happening. We can even output a message to the console explaining how to disable it. Thoughts?

broesler's version of README.md missing useful information that exists in wmvanvliet's version

In particular, I found the section on "First, we need to configure the jupyter console and qtconsole clients to display output from other clients" useful and I struggled to figure out how to do this. Later, I discovered that it was already documented in wmvanvliet's version.

This is sorta implicitly documented in https://github.com/broesler/jupyter-vim/blob/master/doc/jupyter-vim.txt (in the "JUPYTER-VIM VS. VIM-IPYTHON" section), but I think it should be much more prominent.

Shall we create a "jupyter-vim" organization?

At some point, I forked from ivanov/vim-ipython, then this repo was forked from me. You cleaned everything up, doing such a good job that my branch now tracks this repo. People have raised issues and PRs on both my repo and this one. It's a bit of a mess.

How do you feel about creating a "jupyter-vim" github organization and work together in one repo?

Jupyter-vim should check jupyter runtime path for json files

My Jupyter installation seems to put the connection json files in ~/Library/Jupyter/runtime/. I'm on Mac, so perhaps that explains the difference? Anyway, I'd like to make jupyter-vim check that path, in the event that the connection json files aren't found in the current directory. I notice that other places do it like this: https://github.com/jupyter/jupyter_client/blob/34f96d7293e55364690c1dbdff8647ffb84854a3/jupyter_client/consoleapp.py#L168 so I think something like that is the right fix.

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.