Matplotlib interactive-mode problem?

Forum / NoMachine Terminal Server Products / Matplotlib interactive-mode problem?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12106
    chrisvam
    Participant

    Hi,

    I’m running the NoMachine client 5.1.44 on MacOSX and our server runs on RHEL6 Linux.  The server says this:

    [cpo@psnxserv02 ~]$ sudo /opt/NX/bin/nxserver –version

    NoMachine Terminal Server Subscription – Version 5.1.26

    [cpo@psnxserv02 ~]$

    It’s a commercial version I believe.  Our issue:  “non-interactive” python matplotlib scripts display correctly, but a 6-line interactive python script like this that works well with standard X11-forwarding fails with NoMachine, producing a blank window with no plot in it:

    import matplotlib.pyplot as plt

    plt.ion()

    plt.plot([1.6, 2.7])

    plt.draw()

    import time

    time.sleep(3)

    If anyone had a suggestion we would be interested.  Thanks!

    chris

    #12114
    fra81
    Moderator

    Hi Chris,

    it looks like the same issue described here (fixed in version 5.1.40):

    https://www.nomachine.com/TR04N06709

    Upgrading the server side to the last version should solve it.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic was marked as solved, you can't post.