> Given this, would it make more sense to have this line be
> 
> if pad_factor != 1. and pad_factor != 0.:
> In other words, make the default pad_factor when specifying a pad_image be 1, rather than 0 (or 4).
> 

Done.