2
>>> from pylab import *
>>> plot(1)
[<matplotlib.lines.Line2D object at 0x2a9f9ce550>]
>>> show()

Nothing happens. No error message. No interactive window.

Someone know what's the problem could be?

The OS is RH4 and DISPLAY is set properly. Other GUI application can work fine.

limi
  • 832
  • 7
  • 19

1 Answers1

0

Oz123 is right, this can be caused by the wrong backend being set "svg","ps", and "cairo", for example, don't seem to support show() see this post for examples of how to change it, get "GTKcairo" working if it's not, or change the default

Community
  • 1
  • 1
mdaoust
  • 6,242
  • 3
  • 28
  • 29