Skip to content

Commit

Permalink
plot blob
Browse files Browse the repository at this point in the history
  • Loading branch information
caalo committed Sep 10, 2024
1 parent d358378 commit 4e945be
Show file tree
Hide file tree
Showing 4 changed files with 330 additions and 85 deletions.
2 changes: 1 addition & 1 deletion 05-data-visualization.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ expression = pd.read_csv("classroom_data/expression.csv")
To create a histogram, we use the function [`sns.displot()`](https://seaborn.pydata.org/generated/seaborn.displot.html) and we specify the input argument `data` as our dataframe, and the input argument `x` as the column name in a String.

```{python}
sns.displot(data=metadata, x="Age")
plot = sns.displot(data=metadata, x="Age")
```

A common parameter to consider when making histogram is how big the bins are. You can specify the bin width via `binwidth` argument, or the number of bins via `bins` argument.
Expand Down
58 changes: 0 additions & 58 deletions slides/W1.ipynb

This file was deleted.

26 changes: 0 additions & 26 deletions slides/W1.qmd

This file was deleted.

Loading

0 comments on commit 4e945be

Please sign in to comment.