#24 add a warning if python is with -pylab and retun None