Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how do i change the hue color in seaborn

palette=['tab:blue', 'tab:green', 'tab:orange', 'tab:red']

Example: 
sns.scatterplot( data=df,
                x="perm",
                y="perm',
                hue="perm",
                palette=['tab:blue', 'tab:green', 'tab:orange', 'tab:red'] )
Comment

PREVIOUS NEXT
Code Example
Python :: auto create requirements.txt 
Python :: python list comprehension index, value 
Python :: python selenium go back to previous page 
Python :: string to list in python comma 
Python :: save plot in python 
Python :: pandas datetime to date 
Python :: listing index elasticsearch python 
Python :: python similar strings 
Python :: sudo not include packages in python 
Python :: number of rows or columns in numpy ndarray python 
Python :: change pandas column value based on condition 
Python :: how to iteratively create a grid within a bigger grid in python 
Python :: numpy array heaviside float values to 0 or 1 
Python :: how to limit a long text in djagno 
Python :: python get ip info 
Python :: download stopwords nltk 
Python :: how to clear an array python 
Python :: my django template doesnt want to load the static file 
Python :: f string python not working in linux 
Python :: how to get total number of rows in listbox tkinter 
Python :: os.remove directory 
Python :: python square root of large number 
Python :: python one line return 
Python :: assigning multiple values 
Python :: pickle dump 
Python :: max int value in python 
Python :: random choice dictionary python 
Python :: dataframe catch data types 
Python :: create additional rows for missing dates pandas 
Python :: python get city name from IP 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =