Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

Commit

Permalink
Update pandas-stacked-bar.py
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbailey committed Nov 5, 2015
1 parent 84ad718 commit 8289d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas-stacked-bar.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pandas
from matplotlib import pyplot
df = pandas.DataFrame([431,106])
df = pandas.DataFrame([431-106,106])
df = df.transpose()
df.columns=['complete','incomplete']
df.plot(kind='bar', stacked=True, legend=False)
Expand Down

0 comments on commit 8289d5e

Please sign in to comment.