Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

seaborn Using the dark theme python

# importing packages 
import seaborn as sns 
import matplotlib.pyplot as plt 
  
# loading dataset 
data = sns.load_dataset("iris") 
  
# draw lineplot 
sns.lineplot(x="sepal_length", y="sepal_width", data=data) 
  
# changing the theme to dark
sns.set_style("dark")
plt.show()
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #seaborn #Using #dark #theme #python
ADD COMMENT
Topic
Name
8+5 =