I am new to Seaborn, and I am having some trouble changing my figure size. I have looked at examples and adapted it to my code, but nothing seems to be happening.
When executing the code, my displot size does not change. Instead, a random plot just gets generated above my displot (which is really, really small).
I am really unsure on what I am doing wrong in terms of changing the size of my figures. Therefore, could someone kindly point me in the correct direction in order to achieve this?
Thanks!
Code:
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline
import seaborn as sns
sns.set()
fig, ax = plt.subplots(figsize=(12,8))
sns.displot(data=df, x="column_name", kde=True)