0

I want to plot matplotlib figures inline in ipython in the (wezterm) terminal.

In the terminal proper this works:

IPython plot displayed in terminal after plot commands

However, in Neovim, it does not:

no plot displayed in Neovim after the same commands

In this question I was told it's not possible for a neovim terminal buffer to show images. The screenshot above is ipython launched from inside a terminal buffer, so I guess it's unsurprising that it is not working.

Is there another way? Can I launch ipython in a buffer without using the terminal? Would that work in displaying the images, or is there a similar restriction?

(I haven't yet understood where the restriction is inside terminal buffers.)

1 Answer 1

1

The corresponding answer is unfortunately also valid for the GUI version of Vim (i.e. gVim) since the share the same design and the same screen representation.

Remark: That being said the image Neovim plugin that you have identified could be a way go in the desired direction but I suspect the slope will be steep :-|

2
  • 1
    It looks like magma has been able to implement it. It just doesn't work on my machine :/. Ok, I have to stop obsessing over this for the moment, I'll live with a separate ipython gui for now
    – ElRudi
    Commented Jun 24 at 9:49
  • 1
    (actually, molten is a better and more up-to-date example)
    – ElRudi
    Commented Jun 24 at 14:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.