This is a test version of Biostars. For the public version, visit https://www.biostars.org.
seaborn dispersion graph

Hey guys, i have this code

srn.scatterplot(base.conc, base.uptake, hue = base.Type)

to plot a dispersion graph, but whe i try, appear this error:


TypeError Traceback (most recent call last) Cell In[13], line 2 1 # Gráfico de dispersão utilizando os atributos conc e uptake, agrupamento pelo type ----> 2 srn.scatterplot(base.conc, base.uptake, hue = base.Type)

TypeError: scatterplot() takes from 0 to 1 positional arguments but 2 positional arguments (and 1 keyword-only argument) were given

i want to fix that

graph dispersion seaborn

You need to pass srn.scatterplot(data=base, x=base.conc, y=base.uptake, hue=base.Type)

0 answers

No answers yet.

Log in to answer this question.