separating pylab API into its own ns