This throws a TraitError and not an AttributeError.

Catch that
Merge pull request #96 from jenshnielsen/TraitError

Catch TraitError when trying to set line_width.