Types of Parameters in Line Plot in Seaborn

Free Machine Learning courses with 130+ 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

 

You give me 15 seconds I promise you best tutorials
Please share your happy experience 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 *