yt.funcs.ensure_list

yt.funcs.ensure_list(obj)

This function ensures that obj is a list. Typically used to convert a string to a list, for instance ensuring the fields as an argument is a list.

Previous topic

yt.funcs.deprecate

Next topic

yt.funcs.get_pbar

This Page