seaborn Questions

3

Solved

I am attempting to recreate the following plot from the book Introduction to Statistical learning using seaborn I specifically want to recreate this using seaborn's lmplot to create the first two ...
Uncommercial asked 28/6, 2016 at 17:24

2

Using a hexagonal jointplot in Seaborn to produce some "heat maps" showing where on the court basketball players take the most shots. The data comes from a pandas dataframe, where LocX represents t...
Francesco asked 2/12, 2016 at 0:54

3

Solved

I am trying to generate multi-panel figure using seaborn in python and I want the color of the points in my multi-panel figure to be specified by a continuous variable. Here's an example of what I ...
Camper asked 20/6, 2017 at 0:0

3

Solved

I'm trying to plot a seaborn.pairplot with small dots like this one: But I get one with the markers much bigger and I can't find how to change their size in the documentation. My pairplot looks l...
Madera asked 11/2, 2017 at 21:14

5

I am attempting to create a Seaborn heatmap to visualize scientific measurements. The heatmap should display vertical depth on the y-axis, time on the x-axis, and the intensity of the measurement a...
Swetlana asked 2/12, 2016 at 5:35

2

Solved

I'm having a problem with adding a logarithmic X-axis to my plot. I want to show results based on the sample size with methods A, B and C. My dataframe result: A B C 15 0.733333 0.613333 0.733333 ...
Dramatist asked 10/11, 2020 at 12:45

5

Solved

I use the fantastic Seaborn library for some summary stats in IPython Notebook. I recently switched over to a dark color theme for my notebooks and am trying to figure out the best seeings for Seab...
Saphra asked 22/8, 2014 at 16:10

2

Here is a snippet, to reproduce my example image: import pandas as pd import numpy as np import seaborn as sns np.random.seed(42) df = pd.DataFrame(np.random.rand(10,2), columns=['x', 'y']) df['la...
Abstinence asked 7/1, 2022 at 14:1

2

Solved

I have a dataframe where I have precomputed the average and the standard deviation for a particular set of values. A snippet of the data frame and how to create it has been illustrated below: impor...
Roister asked 9/7, 2020 at 18:1

7

Solved

I am trying to get a grouped boxplot working using Seaborn as per the example I can get the above example working, however the line: tips = sns.load_dataset("tips") is not explained at all. I h...
Shutter asked 19/5, 2015 at 21:16

4

I'm trying to load data from a github page (it's part of the standard seaborn datasets you can get.) I am on PyCharm and I don't understand what the hell is going on. import seaborn as sns data ...
Pushbike asked 13/8, 2019 at 18:42

2

Solved

I have a DataFrame with the following structure: interval segment variable value 4 02:00:00 Night weekdays 154.866667 5 02:30:00 Night weekdays 100.666667 6 03:00:00 Night weekdays 75.400000 7 03:...
Polka asked 5/2, 2016 at 17:54

4

Solved

I am trying out Seaborn to make my plot visually better than matplotlib. I have a dataset which has a column 'Year' which I want to plot on the X-axis and 4 Columns say A,B,C,D on the Y-axis using ...
Prepositor asked 13/9, 2018 at 7:35

17

Solved

It checks the lib folder where my seaborn stuff is, but still error._. Hi, I have looked at other posts, but most seemed to be dealing with Jupyter notebooks, which I'm not. I was wondering ho...
Stupefacient asked 9/1, 2019 at 19:3

3

Solved

Using distplot to plot a histogram sns.distplot(a, color="red", label="100% Equities") and running this under Seaborn version 0.11 or greater produces the following warning: F...
Flatus asked 30/1, 2021 at 21:17

6

Solved

I have searched S/O but I couldn't find a answer for this. When I try to plot a distribution plot using seaborn I am getting a futurewarning. I was wondering what could be the issue here. import...
Dg asked 1/10, 2018 at 15:22

2

The seaborn documentation is pretty unclear about the differences, and I can't figure them out. It seems like they have very similar, if not identical, functionality. seaborn.FacetGrid.map seaborn....
Rentschler asked 15/9, 2020 at 17:49

4

Solved

I have a few seaborn lineplots and I can't figure out how to increase the width of my lines. Here is my code #graph 1 sns.lineplot(x="date", y="nps", data=df_nps, ax=ax1, label=...
Jarad asked 30/6, 2020 at 22:40

2

Solved

Has anyone used a Polars dataframe with Seaborn to graph something? I've been working through a notebook on Kaggle that used Pandas, and I wanted to refactor it to Polars. The dataframe I'm working...
Link asked 8/12, 2022 at 3:57

4

Solved

I'm having a little trouble with customizing my colors for a lineplot. I want to show an ensemble of spectras with a sequential color palette. The argument "palette="blues" works fine, but does not...
Rapeseed asked 9/8, 2018 at 9:4

2

By chance, is there a way to rotate the xticks in the graphic below (just to make it a bit more readable)? The usual sns.xticks() doesn't work in the new seaborn.objects development (which is amazi...
Exceptional asked 7/12, 2022 at 11:17

14

Solved

How do I change the size of my image so it's suitable for printing? For example, I'd like to use an A4 paper, whose dimensions are 11.7 inches by 8.27 inches in landscape orientation.
Orcus asked 23/7, 2015 at 17:43

2

Solved

I'm having trouble getting seaborn's relplot function to plot with different y axes on each row (while sharing x axes per column). I can see that both the FacetGrid and catplot methods in seaborn ...
Umpteen asked 29/5, 2019 at 15:9

4

Solved

I want to add a title to a seaborn heatmap. Using Pandas and iPython Notebook code is below, a1_p = a1.pivot_table( index='Postcode', columns='Property Type', values='Count', aggfunc=np.mean, fi...
Nalor asked 22/9, 2015 at 18:3

6

Solved

I'm trying to use my own labels for a Seaborn barplot with the following code: import pandas as pd import seaborn as sns fake = pd.DataFrame({'cat': ['red', 'green', 'blue'], 'val': [1, 2, 3]}) f...
Gerent asked 26/7, 2015 at 1:8

© 2022 - 2024 — McMap. All rights reserved.