Hide elevation graph on TypeError in get_elevation_data()