大多数情况下,您可以使用numpy的对象或者python的对象,但是用pandas对象更好,因为相关的but pandas objects are preferable because the associated names will be used to annotate the axes. 另外,为了控制绘图元素 您也可以可以用分类类型来组合不同的变量。
大多数情况下,您可以使用numpy的对象或者python的对象,但是用pandas对象更好,因为相关的but pandas objects are preferable because the associated names will be used to annotate the axes. 另外,为了控制绘图元素 您也可以可以用分类类型来组合不同的变量。
...
@@ -27,11 +27,11 @@ This function always treats one of the variables as categorical and draws data a
...
@@ -27,11 +27,11 @@ This function always treats one of the variables as categorical and draws data a
| Parameters: | **x, y, hue** : names of variables in `data` or vector data, optional
| Parameters: | **x, y, hue** : names of variables in `data` or vector data, optional
> Inputs for plotting long-form data. See examples for interpretation.
> 用于绘制long-form数据的变量名称.
**data** : DataFrame, array, or list of arrays, optional
**data** : DataFrame, array, or list of arrays, optional
> 用于绘图的数据集。如果缺失X值和Y值, this is interpreted as wide-form. Otherwise it is expected to be long-form.
> 用于绘图的数据集。如果缺失X值和Y值, 这个数据集会被解释成wide-form,否则this is interpreted as wide-form. Otherwise it is expected to be long-form.
**order, hue_order** : lists of strings, optional
**order, hue_order** : lists of strings, optional
...
@@ -138,7 +138,7 @@ Draw a set of horizontal bars:
...
@@ -138,7 +138,7 @@ Draw a set of horizontal bars: