daleroberts / itermplot

An awesome iTerm2 backend for Matplotlib, so you can plot directly in your terminal.
1.49k stars 51 forks source link

plotting in nvim terminal mode #34

Open mohelm opened 6 years ago

mohelm commented 6 years ago

Hi, many thanks for providing this very useful plugin.

I got this to work in iterm2. But it would not show a plot when I am using it in terminal mode in neovim. Is there any a priori reason why this would not work?

Many thanks

daleroberts commented 6 years ago

Hi Moritz, it could be that neovim is capturing the special escape codes that iterm2 needs to see for it to display the image. I’ll have to do some testing...

On 11 Sep 2018, at 8:14 pm, Moritz Helm notifications@github.com<mailto:notifications@github.com> wrote:

Hi, many thanks for providing this very useful plugin.

I got this to work in iterm2. But it would not show a plot when I am using it in terminal mode in neovim. Is there any a priori reason why this would not work?

Many thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/daleroberts/itermplot/issues/34, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAjjJNzObTU2GpGnMBUIl4djmi3cr-Hxks5uZ4z0gaJpZM4WjAWv.

mohelm commented 6 years ago

Thanks a lot.

mtn commented 5 years ago

@daleroberts If I wanted to look into this, is there a section of the codebase where I can see what the special escape codes are? Hoping to have this working within a project I'm working on!

Edit: Some observations:

huyiqun commented 4 years ago

I'd also like to see if we can have this in nvim!