@@ -10,8 +10,7 @@ read more on our
10
10
11
11
ggplot(aes(x='date', y='beef'), data=meat) + \
12
12
geom_point(color='lightblue') + \
13
- geom_line(alpha=0.25) + \
14
- stat_smooth(span=.05, color='black') + \
13
+ stat_smooth(span=.15, color='black', se=True) + \
15
14
ggtitle("Beef: It's What's for Dinner") + \
16
15
xlab("Date") + \
17
16
ylab("Head of Cattle Slaughtered")
@@ -66,14 +65,19 @@ Ok the hard part is over. Installing ``ggplot`` is really easy. Just use
66
65
``pip ``! An item on the TODO is to add the matplotlibrc files to the pip
67
66
installable (let me know if you'd like to help!).
68
67
68
+ *``matplotlibrc`` will be replaced with themes in the 0.3 release *
69
+
69
70
::
70
71
71
72
# matplotlibrc from Huy Nguyen (http://www.huyng.com/posts/sane-color-scheme-for-matplotlib/)
72
- $ curl https://github.com/yhat/ggplot/raw/ master/matplotlibrc.zip > matplotlibrc.zip
73
- $ unzip matplotlibrc.zip -d ~/
73
+ $ curl -O https://raw. github.com/yhat/ggplot/master/matplotlibrcs/ matplotlibrc-osx .zip
74
+ $ unzip matplotlibrc-osx .zip -d ~/
74
75
# install ggplot using pip
75
76
$ pip install ggplot
76
77
78
+ NOTE: You might want to install matplotlibrc files for other platforms
79
+ (e.g., Windows). See ``matplotlibrcs ``.
80
+
77
81
Loading ``ggplot ``
78
82
^^^^^^^^^^^^^^^^^^
79
83
@@ -106,7 +110,7 @@ Examples
106
110
ylim(0, 20000)
107
111
108
112
``geom_histogram ``
109
- ^^^^^^^^^^^^^
113
+ ^^^^^^^^^^^^^^^^^^
110
114
111
115
::
112
116
@@ -138,5 +142,8 @@ Examples
138
142
TODO
139
143
~~~~
140
144
141
- The list is long, but
142
- distinguished.\ `TODO <https://github.com/yhat/ggplot/blob/master/TODO.md >`__
145
+ `The list is long, but
146
+ distinguished. <https://github.com/yhat/ggplot/blob/master/TODO.md> `__
147
+ We're looking for contributors! Email greg at yhathq.com for more info.
148
+ For getting started with contributing, check out `these
149
+ docs <https://github.com/yhat/ggplot/blob/master/docs/contributing.md> `__
0 commit comments