When I run matplotlib.pyplot in ipython on python 3.5 over ssh, I get this error message, and I'm not sure what to make of it.
In [1]: import matplotlib
In [2]: from matplotlib import pyplot
Jan 13 10:24:14 python[66770] <Error>: Set a breakpoint at CGSLogError to catch errors as they are logged.
Jan 13 10:24:14 python[66770] <Error>: This user is not allowed access to the window system right now.
_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
Jan 13 10:24:15 python[66770] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jan 13 10:24:15 python[66770] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jan 13 10:24:15 python[66770] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jan 13 10:24:15 python[66770] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jan 13 10:24:15 python[66770] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jan 13 10:24:15 python[66770] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jan 13 10:24:15 python[66770] <Warning>: Invalid Connection ID 0
I have tried reinstalling python completely via anaconda and all the packages separately using pip3 install. Any thoughts?