Skip to content

How to enable qt graphics toolkit on Google Colab? #333

@fangq

Description

@fangq

I have been using oct2py with octave to create MATLAB tutorials on Google Colab, and it generally works really well.

I am now working in a section showing how to use uicontrol() to create simple GUIs, but it appears that the oct2py installed on Colab does not have qt graphics toolkit. the only one available is gnuplot.

I am wondering if there is any specific package I need to install to enable qt graphics toolkit?

here is my setup code

!sudo apt-get install octave gnuplot-qt
!pip install oct2py  # Octave integration with jupyter notebook
%load_ext oct2py.ipython

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions