Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when attempting to save a plot to disk from within a notebook #170

Open
flizzer opened this issue Apr 12, 2020 · 1 comment
Open

Comments

@flizzer
Copy link

flizzer commented Apr 12, 2020

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

@blink1073
Copy link
Contributor

Hi @flizzer, we attempt to mimic what Octave does at startup here. Perhaps something is missing there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants