@@ -865,20 +865,20 @@ def line(self, x=None, y=None, **kwargs):
865
865
Either the location or the label of the columns to be used.
866
866
By default, it will use the remaining DataFrame numeric columns.
867
867
color : str, int, array_like, or dict, optional
868
- The color of each line for each row . Possible values are:
868
+ The color for each of the DataFrame's columns . Possible values are:
869
869
870
870
- A single color string referred to by name, RGB or RGBA code,
871
871
for instance 'red' or '#a98d19'.
872
872
873
873
- A sequence of color strings referred to by name, RGB or RGBA
874
- code, which will be used for each line for each row recursively. For
875
- instance ['green','yellow'] all lines for each row will be filled in green
876
- or yellow, alternatively.
874
+ code, which will be used for each column recursively. For
875
+ instance ['green','yellow'] each column's line will be coloured in
876
+ green or yellow, alternatively.
877
877
878
- - A dict of the form {column name : color}, so that each row's lines will be
878
+ - A dict of the form {column name : color}, so that each column will be
879
879
colored accordingly. For example, if your columns are called `a` and `b`,
880
- then passing {'a': 'green', 'b': 'red'} will color the lines for column
881
- `a` in green and lines for column `b` in red.
880
+ then passing {'a': 'green', 'b': 'red'} will color lines for column `a` in
881
+ green and lines for column `b` in red.
882
882
**kwargs
883
883
Keyword arguments to pass on to :meth:`DataFrame.plot`.
884
884
@@ -960,17 +960,17 @@ def bar(self, x=None, y=None, **kwargs):
960
960
Allows plotting of one column versus another. If not specified,
961
961
all numerical columns are used.
962
962
color : str, int, array_like, or dict, optional
963
- The color of each bar for each row . Possible values are:
963
+ The color for each of the DataFrame's columns . Possible values are:
964
964
965
965
- A single color string referred to by name, RGB or RGBA code,
966
966
for instance 'red' or '#a98d19'.
967
967
968
968
- A sequence of color strings referred to by name, RGB or RGBA
969
- code, which will be used for each bar for each row recursively. For
970
- instance ['green','yellow'] all bars for each row will be filled in green
971
- or yellow, alternatively.
969
+ code, which will be used for each column recursively. For
970
+ instance ['green','yellow'] each column's bar will be filled in
971
+ green or yellow, alternatively.
972
972
973
- - A dict of the form {column name : color}, so that each row's bars will be
973
+ - A dict of the form {column name : color}, so that each column will be
974
974
colored accordingly. For example, if your columns are called `a` and `b`,
975
975
then passing {'a': 'green', 'b': 'red'} will color bars for column `a` in
976
976
green and bars for column `b` in red.
@@ -1025,7 +1025,7 @@ def bar(self, x=None, y=None, **kwargs):
1025
1025
>>> axes = df.plot.bar(rot=0, subplots=True)
1026
1026
>>> axes[1].legend(loc=2) # doctest: +SKIP
1027
1027
1028
- If we don't like the default colours, we can specify how we 'd
1028
+ If you don't like the default colours, you can specify how you 'd
1029
1029
like each column to be colored.
1030
1030
1031
1031
.. plot::
@@ -1069,17 +1069,17 @@ def barh(self, x=None, y=None, **kwargs):
1069
1069
y : label or position, default All numeric columns in dataframe
1070
1070
Columns to be plotted from the DataFrame.
1071
1071
color : str, int, array_like, or dict, optional
1072
- The color of each bar for each row . Possible values are:
1072
+ The color for each of the DataFrame's columns . Possible values are:
1073
1073
1074
1074
- A single color string referred to by name, RGB or RGBA code,
1075
1075
for instance 'red' or '#a98d19'.
1076
1076
1077
1077
- A sequence of color strings referred to by name, RGB or RGBA
1078
- code, which will be used for each bar for each row recursively. For
1079
- instance ['green','yellow'] all bars for each row will be filled in green
1080
- or yellow, alternatively.
1078
+ code, which will be used for each column recursively. For
1079
+ instance ['green','yellow'] each column's bar will be filled in
1080
+ green or yellow, alternatively.
1081
1081
1082
- - A dict of the form {column name : color}, so that each row's bars will be
1082
+ - A dict of the form {column name : color}, so that each column will be
1083
1083
colored accordingly. For example, if your columns are called `a` and `b`,
1084
1084
then passing {'a': 'green', 'b': 'red'} will color bars for column `a` in
1085
1085
green and bars for column `b` in red.
0 commit comments