I am making a plot using seaborn FacetGrid with dataframe: df. I am using sns because of the hue functionality.
See code:
import seaborn as sns
import matplotlib.pyplot as plt
grid = sns.FacetGrid(df,hue='var')
grid.map(plt.scatter, x, y).add_legend()
grid.set(ylim=ylim,xlim=xlim)
plt.show()
Normally I would access the figsize by using:
fig, ax = plt.subplots(figsize=(20, 10))
or
plt.figure(figsize=(20,10))
But now, because I'm using seaborn, I don't know how to access the figure-object.
How do I access the figure object in order to change the size of the plot?