Advertisement
elena1234

joint plot ( dencity plot ) in Python

May 12th, 2022 (edited)
508
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import numpy as np
  2. import pandas as pd
  3. import matplotlib.pyplot as plt
  4. import seaborn as sns
  5. from scipy import stats
  6.  
  7. plt.figure(figsize=(12,4), dpi = 200)
  8. df = pd.read_csv("C:/Users/eli/Desktop/YtPruboBEemdqA7UJJ_tgg_63e179e3722f4ef783f58ff6e395feb7_nhanes_2015_2016.csv")
  9.  
  10. sns.jointplot(x="BMXLEG", y="BMXARML", kind='kde', data=df)
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement