joouha / euporie

Jupyter notebooks in the terminal
https://euporie.readthedocs.io
MIT License
1.54k stars 36 forks source link

Graphics rendering bugs #105

Closed kalocsaibotond closed 2 months ago

kalocsaibotond commented 2 months ago

I have tried out euporia on Windows 10 and it seems to be in a quite buggy state, unfortunately, as one can see in the image: image

Here I use:

I launched euporie-notebook with the --graphics iterm and --force-graphics command line arguments.

I also tried the same code snippet with euporia-console˛, with the same command line arguments. In this case, the console replied that it is unable to render the image with the ITerm protocol, and then rendered it in such a way that the majority of the image was hanged out of the right edge of the window, and only the tick labels on the vertical axis seeable in the window.

It is sad that it is in such a buggy state. Without these bugs, Euporie would be an amazing tool for anyone who does data-sciene / machine learning on remote machine.

joouha commented 2 months ago

Hello,

Thank you for taking the time to write this up.

This is not an issue with euporie, but an issue with terminal graphics on Windows. See this issue for more info:

https://github.com/wez/wezterm/issues/1236

I hope we can find a workaround which works for you!

If you use WSL, there are a few work-arounds you can try:

If you're stuck using Windows-native Python, there's not a whole lot you can do until Windows implements ConPTY pass-through.


Version 2.8.1 is the current latest version. PyPi is the place to track the "official" latest version. I have to manually add the realeases to GitHub, and must have forgotten for the v2.8 releases! I could probably create a GitHub workflow to do this automatically.