Ok so I have a dataframe object that's indexed as follows:

```
index,       rev,      metric1   (more metrics.....)

exp1,       92365,     0.018987  
exp2,       92365,    -0.070901  
exp3,       92365,     0.150140  
exp1,       87654,     0.003008  
exp2,       87654,    -0.065196   
exp3,       87654,    -0.174096

```

For each of these metrics I want to create individual stacked barplots comparing them based on their rev.

here's what I've tried:

```
df = df[['rev', 'metric1']]   
df = df.groupby("rev")  
df.plot(kind = 'bar') 

```

This results in 2 individual bar graphs of the metric. Ideally I would have these two merged and stacked (right now stacked=true does nothing). Any help would be much appreciated.

This would give me my ideal result, however I don't think reorganizing to fit this is the best way to achieve my goal as I have many metrics and many revisions.

```
index,   metric1(rev87654), metric1(rev92365)
exp1,    0.018987,          0.003008 
exp2,   -0.070901,         -0.065196
exp3,    0.150140,         -0.174096

```

This is my goal. (made by hand)

<http://i.stack.imgur.com/5GRqB.png>