Allow to import rnnrbm.py even with pylab is not available.

This is needed for tests.