Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

legend text color matplotlib

import matplotlib.pyplot as plt
l = plt.legend()
for text in l.get_texts():
    text.set_color("red")
Comment

PREVIOUS NEXT
Code Example
Python :: how to call a random function in python 
Python :: how to merge rows in pandas dataframe 
Python :: load pt file 
Python :: concardinate str and a variable in python 
Python :: if string is in array python 
Python :: month name in python 
Python :: represent NaN with pandas in python 
Python :: spark list tables in hive 
Python :: ffmpeg python video from images 
Python :: how to replace a word in text file using python 
Python :: how to exit program in python 
Python :: how to terminate subprocess.call in python 
Python :: github python api 
Python :: all frequency offset in pandas 
Python :: rotating circular queue in python 
Python :: python declare variable type array 
Python :: face detection code 
Python :: confusion matrix for classification 
Python :: remove unnamed columns pandas 
Python :: how to know if the space button has been clicked in python pygame 
Python :: python script to scrape data from website 
Python :: get absolute url 
Python :: is tuple immutable in python 
Python :: python string to lower 
Python :: python possible combinations 
Python :: merge lists 
Python :: install glob module in linux 
Python :: select python 
Python :: Convert column as array to column as string before saving to csv 
Python :: python @property 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =