Is it possible to change the position of the Legend when plotting using python-ggplot? For example, from left to top?
I have tried ppb1Lp+theme_bw(legend.position="top") where ppb1Lp is a ggplot object. But it gives an error:
SyntaxError: keyword can't be an expression.
I have also done some search on Internet, but I could only find the related answer for ggplot2 on R.
Any advice is welcome.