Ah, I suppose this is the reason for my previous remark. Maybe it would be simpler to just have:

- default -> ['import numpy as np', 'from pylab import *']
- no mention in conf.py -> default
- if you don't want to import something, use `[]`

Or is there a reason you would want to use `None`?