Types of Parameters in Line Plot in Seaborn

Machine Learning courses with 100+ Real-time projects Start Now!!

Program 1

import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns


df_tips=pd.read_csv("D://scikit_data/Billing/tips.csv")


df_tips


sns.lineplot(x='size',y='total_bill',data=df_tips,hue='day',style='day',palette='rocket', dashes=False,legend='brief',markers=['.','*','>','<'])
plt.title("Bill Vs Size")
plt.xlabel("Size",fontsize=15)
plt.ylabel("Totl Bill",fontsize=15)
plt.show()


df_tips.shape

 

Did you like our efforts? If Yes, please give DataFlair 5 Stars on Google

courses

DataFlair Team

DataFlair Team provides high-impact content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. We make complex concepts easy to grasp, helping learners of all levels succeed in their tech careers.

Leave a Reply

Your email address will not be published. Required fields are marked *