About 9,040 results
Open links in new tab
  1. Meaning of 'hue" in seaborn barplot - Data Science Stack Exchange

    Feb 24, 2019 · Seaborn barplot has three parameters. x, y, hue : names of variables in data or vector data, optional Question What is hue? It seems the attribute to plot but why it is called …

  2. Adding another 'hue' to a pairplot - Data Science Stack Exchange

    Oct 4, 2022 · I have plotted a pairplot in Seaborn with a hue, similar to the one shown below. I would like to add another hue by changing the shape of the markers based on another …

  3. Seaborn Pairplot not showin colors of the labels

    Jun 1, 2020 · My dataframe looks similar to this I am using the following line to graph the pairplot sns.pairplot(iris, hue = 'States', height=7, aspect=0.8 ) The graph is good but I am confused …

  4. `ValueError: There must be exactly two hue levels to use `split ...

    Jul 26, 2023 · A violin plot normally draws symmetric violins for each unique value of hue. If hue takes on exactly two values, the two violins for can be combined into one asymmetric "split" …

  5. Plot Two Categorical Variables - Data Science Stack Exchange

    Feb 21, 2021 · How to plot two categorical variables in Python or using any library? I want to plot the Playing Role of a Cricketer (Batsman, Bowler, etc.) VS Bought_By (Franchise Names, …

  6. Seaborn barchart for frequency of data

    Jul 10, 2019 · I'm trying to plot a bar chart to represent the frequency of two variables (Dead and Alive) in my test and training data. I want it to look like the second example described in the …

  7. python - Unable to generate error bars with seaborn - Data …

    code: g = sns.barplot(x=data2['avg_weightedcost'], y=data2['algorithm'], hue=data2['group']) g.errorbar(x=data2['avg_weightedcost'], y=data2['algorithm'], xerr=data2['std_weight'], …

  8. Scatter Plot with Conditions - Data Science Stack Exchange

    This type of scatter plot is best performed in seaborn for Python. seaborn sns df = sns.load_dataset() sns.lmplot( x=, y=, data=df, fit_reg=, hue=, legend=) plt.legend(loc=) The …

  9. How to plot two columns of single DataFrame on Y axis

    Dec 12, 2017 · In my case, I have one column for the hue (which algorithm I'm running), one column for the score (which I'd like plotted on the Y axis) and a third column for the optimal …

  10. What are some good ways to visualize one-hot encoded data

    I'm working on a ML project where we want to visualize our one-hot encoded data to see how the model is learning. What are some good techniques for this? I'm aware of dimensional …