You can change the Seaborn plot color with the following code. The given example helps you to understand how to change the Seaborn plot color. I highly recommend you “Python Crash Course Book” to learn Python.
# Import the required libraries import seaborn as sns from matplotlib import pyplot as plt import pandas as pd # Create DataFrame a = pd.DataFrame({"Temp 1": [35, 33, 39, 34, 41, 36], "Temp 2" : [39, 33, 32, 35, 37, 31]}) # Draw the Lineplot sns.lineplot(data=a, palette=['r', 'k'], linewidth=3) # Display the plot plt.show()
Output: