Added an import warnings statement to utils.py.

If a dasharray is not understood, a warning is raised in utils.py.
However, it is not imported in this module.

I just added a quick import statement.