Corrected use of cbook.warn_deprecated()
Correct use of obj_type argument in cbook.warn_deprecated