The core concept to understand about these arguments is that your'e just setting properties for the various parts of the graph. For example, if you have a line in your graph, here are the properties to think about: agg_filter Set the agg_filter function alpha How see-through to make the graph animated Whether the graph should be considered … [Read more...]

## Set alpha on Seaborn graphs

It's important to remember that Seaborn is simply a rapper on top of Matplotlib. This means that anything you could do it in Matplotlib can also be accomplished in this package. You just need to know which arguments. In the LM plot function, what you needs to do is pass the arguments for the wine and the dots separately. To pass the line, use line_KW a RT and then pass a … [Read more...]

## Seaborn logistic plot

Sometimes, you're using a variable that is not categorical (known as a continuous variable) to predict a categorical variable. For example, imagine that you had the measurement of height for several babies, and you wanted to know how well that predicted weather they had taken their first steps. In this case, you could do a scatterplot, but the Y axis would not be a number, but … [Read more...]

## Matplotlib add best fit line

Often after you make a scatterplot, the first thing that you ordered user will ask is "so is there a relationship between the variables?" Just kidding! They will often assume that there is one without making it back with something explicit. That can be dangerous, because the human mind is wired to see patterns, even when they do not exist. It's important to understand what the … [Read more...]

## overlapping data points Matplotlib

A common problem with scatterplots is that you end up with all of the data points overlapping on each other, Which means that the user can't get a sense of where the true density of the data life. For example, they may not be able to see whether there is just one "layer" of data, or whether the points are stacked on top of each other 10 deep. Solution to overlapping There are … [Read more...]