ENH: meaningful error for wrong display_mode