seaborn dispersion graph
0
0
Entering edit mode
8 months ago

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 • 393 views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 2722 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6