Issue a developer warning if the display mode is not a known value.
Merge pull request #286 from mounirlamouri/display_warning

Issue a developer warning if the display mode is not a known value.