I imagine what I am wanting to do is quite a regular issue but having had a search I can't find a solution. Basically I am running Ipython on a remote server and I want to be able to use matplotlib and then it display on my local machine.
The issue is with me not being able to connect to the X server it seems. Here is what I am getting when I try to run matplotlib
In [1]: %matplotlib
: cannot connect to X server
Any ideas anyone? Like I say I would imagine this must be a pretty common issue :)
Try passing -X
option (that's a capital X) to your ssh command. This should enable X11 forwarding.