I think this jointplot
is using for 3 dimensional data.
(Just a dataset, in your case have two dataset: lst_1
& lst_2
)
Example:
penguins = sns.load_dataset("penguins")
sns.jointplot(data=penguins, x="bill_length_mm", y="bill_depth_mm", hue="species")
As you can see:
- Only one dataset:
penguins
- Three dimensional for this dataset:
bill_length_mm
, bill_depth_mm
, species
If you want to draw two dataset in one figure, you should check:
- Are this two dataset have same variables?
- Looks up your picture, the dataset have 3 variables:
bill_length_mm
, bill_depth_mm
, species
- Have your dataset like this?