octave_kernel
octave_kernel copied to clipboard
error when attempting to save a plot to disk from within a notebook
trafficstars
Greetings. I get the below error when trying to save a plot to my filesystem.
print -dpng 'myPlot.png'
error: __fltk_redraw__: not available without OpenGL and FLTK libraries
error: called from:
error: /usr/local/octave/3.8.0/share/octave/3.8.0/m/plot/util/private/__fltk_print__.m at line 30, column 3
error: /usr/local/octave/3.8.0/share/octave/3.8.0/m/plot/util/print.m at line 422, column 14
I'm on macOS Catalina (10.15.4) and am using JupyterLab 2.1.0. When using the octave-cli, the print command works as expected. Do you know of any reason why these libraries wouldn't be referenced by octave_kernel?
Thanks for any insight.
Brian
Hi @flizzer, we attempt to mimic what Octave does at startup here. Perhaps something is missing there.