I currently have a xy graph color being my third variable. Is it possible to make a 4th variable be represented by shape or size?
I've been trying to use shape to represent my 4th variable, but I am starting to doubt whether it's possible.
In the code below, is it possible to make the 'marker' parameter reflect the value of the 'Species' variable?
iris = sns.load_dataset('iris')
fig, ax = plt.subplots()
sc = ax.scatter(data=iris, x='petal_length',
y='petal_width', c='sepal_length', cmap='coolwarm')

