In [1]:
from ggplot import *
%matplotlib inline

In [2]:
ggplot(mtcars, aes(x='wt', y='mpg', label='name')) + geom_text()


Out[2]:
<ggplot: (270102369)>

In [3]:
ggplot(mtcars, aes(x='wt', y='mpg', label='name')) + geom_text(rotation=45.)


Out[3]:
<ggplot: (288165361)>

In [4]:
ggplot(mtcars, aes(x='wt', y='mpg', label='name')) + geom_text(rotation=-45.)


Out[4]:
<ggplot: (288388645)>

In [5]:
ggplot(mtcars, aes(x='wt', y='mpg', label='name')) + geom_text(rotation=-90., color='purple')


Out[5]:
<ggplot: (289822253)>

In [6]:
ggplot(mtcars, aes(x='wt', y='mpg', label='name')) + geom_text(size=36, alpha=0.5)


Out[6]:
<ggplot: (292965813)>

In [7]:
ggplot(mtcars, aes(x='wt', y='mpg', label='name')) + geom_text(hjust=0.2) + geom_point()


Out[7]:
<ggplot: (293341021)>

In [8]:
ggplot(mtcars, aes(x='wt', y='mpg', label='name')) + geom_text(vjust=-1) + geom_point()


Out[8]:
<ggplot: (293831705)>

In [ ]: