R Ggplot Set Plot Size Matplotlib Legend Python