BF: fix import statement for get_cmap

I think you can't do ``import module.attribute as attribute``, and you have to
do something like ``from module import attribute``.