Calysto / octave_kernel

An Octave kernel for IPython
BSD 3-Clause "New" or "Revised" License
453 stars 66 forks source link

massive space at the output of the first cell #239

Open erentar opened 6 months ago

erentar commented 6 months ago

image

theres this massive space, only happens in the first cell and the subsequent cells have just a little one

image

the html doesnt show anything shady

will provide more information if needed

SebiAi commented 1 month ago

I have the same issues on my linux machine: Linux Mint 22.0 Cinnamon (Ubuntu 24 as base) with 6.8.0-45-generic kernel (x86-64)

I installed jupyter notebook and the octave kernel via apt: sudo apt install python3 notebook python3-octave-kernel

The versions are sadly not the newest but I can't install the kernel via pip due to the environment being externally managed from apt: python3: 3.12.3 jupyter notebook: 6.4.12 octave: 8.4.0 octave-kernel: 0.32.0-4 (according to apt show python3-octave-kernel)

Output of the check command seems fine (python3 -m octave_kernel.check):

0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
Octave kernel v0.32.0
Metakernel v0.29.4
Python v3.12.3 (main, Sep 11 2024, 14:17:37) [GCC 13.2.0]
Python path: /usr/bin/python3

Connecting to Octave...
Octave connection established
Octave Kernel v0.32.0 running GNU Octave v8.4.0
Graphics toolkit: fltk
Available toolkits: 
{
  [1,1] = fltk
  [1,2] = gnuplot
}

Related Issues: #234

SebiAi commented 1 month ago

Also adding %plot -f png seems to fix the Inline plot failed error but the white space still remains. Plus it is incredibly slow.