Skip to content

Floating figures don't work on Windows #242

Open

Description

@patrick984

The %%matlab --gui IPython magic does not produce floating figures properly on Windows.

Can be reproduced with the following code (Jupyter Notebook, MATLAB 2014b, Windows 10 x64):

import pymatbridge as pymat
ip = get_ipython()
pymat.load_ipython_extension(ip)
%%matlab --gui
x = linspace(0, 2*pi, 100);
y = sin(x);
plot(x, y)

Figure 1 does appear in the taskbar, however the figure window itself does not appear and clicking on attempting to activate it by clicking on the taskbar entry does nothing.

I was under the impression this was supposed to work as indicated in #150.

Activity

  1. lrq3000 commented on Nov 21, 2019

    @lrq3000

    Same here, and I'm not using the ipython magic but directly trying to call a matlab function from a python script. The Matlab console works fine, and there is some debug info that shows that the plot was successfully launched, but the plot itself is a freezed blank window.

  2. lrq3000 commented on Nov 21, 2019

    @lrq3000

    It's a shame because this library is the most stable python-matlab bridge I have ever found, but this bug prevents me from deploying it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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