@@ -865,20 +865,20 @@ def line(self, x=None, y=None, **kwargs):
865865 Either the location or the label of the columns to be used.
866866 By default, it will use the remaining DataFrame numeric columns.
867867 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:
869869
870870 - A single color string referred to by name, RGB or RGBA code,
871871 for instance 'red' or '#a98d19'.
872872
873873 - 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.
877877
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
879879 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.
882882 **kwargs
883883 Keyword arguments to pass on to :meth:`DataFrame.plot`.
884884
@@ -960,17 +960,17 @@ def bar(self, x=None, y=None, **kwargs):
960960 Allows plotting of one column versus another. If not specified,
961961 all numerical columns are used.
962962 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:
964964
965965 - A single color string referred to by name, RGB or RGBA code,
966966 for instance 'red' or '#a98d19'.
967967
968968 - 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.
972972
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
974974 colored accordingly. For example, if your columns are called `a` and `b`,
975975 then passing {'a': 'green', 'b': 'red'} will color bars for column `a` in
976976 green and bars for column `b` in red.
@@ -1025,7 +1025,7 @@ def bar(self, x=None, y=None, **kwargs):
10251025 >>> axes = df.plot.bar(rot=0, subplots=True)
10261026 >>> axes[1].legend(loc=2) # doctest: +SKIP
10271027
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
10291029 like each column to be colored.
10301030
10311031 .. plot::
@@ -1069,17 +1069,17 @@ def barh(self, x=None, y=None, **kwargs):
10691069 y : label or position, default All numeric columns in dataframe
10701070 Columns to be plotted from the DataFrame.
10711071 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:
10731073
10741074 - A single color string referred to by name, RGB or RGBA code,
10751075 for instance 'red' or '#a98d19'.
10761076
10771077 - 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.
10811081
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
10831083 colored accordingly. For example, if your columns are called `a` and `b`,
10841084 then passing {'a': 'green', 'b': 'red'} will color bars for column `a` in
10851085 green and bars for column `b` in red.
0 commit comments