9 lines
310 B
Python
9 lines
310 B
Python
from spectralforensics import box_plot
|
|
|
|
|
|
if __name__ == "__main__":
|
|
dataset = {"income": ["<=50K", "<=50K", "<=50K", ">50K", ">50K", ">50K"],
|
|
"hours-per-week": [30, 40, 45, 40, 50, 60]}
|
|
box_plot(dataset, x="income", y="hours-per-week",
|
|
fill=False, gap=.1, palette="pastel")
|