keeping the correct aspect ratio - plot not displayed until we resize