Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

matplotlib background color

fig, ax = plt.subplots()
#to change the inside of the graph
ax.set_facecolor('xkcd:salmon')
ax.set_facecolor((1.0, 0.47, 0.42))
#to change the border color around the back
fig.patch.set_facecolor('xkcd:mint green')
Comment

plot background color matplotlib

### How to change plot background color

fig, ax = plt.subplots()
## to change the inside of the graph
ax.set_facecolor('xkcd:salmon')
ax.set_facecolor((1.0, 0.47, 0.42))
## to change the border color around the back
fig.patch.set_facecolor('xkcd:mint green')
Comment

matplotlib python background color

fig = plt.figure()
fig.patch.set_facecolor('xkcd:mint green')
Comment

PREVIOUS NEXT
Code Example
Python :: Delete file in python Using the os module 
Python :: read a file in python 
Python :: python try except 
Python :: python telethon 
Python :: how to get bot voice channel discord.py 
Python :: failed to execute script 
Python :: python for loop array index 
Python :: matplotlib to pdf 
Python :: defualt image django 
Python :: print even numbers in python 
Python :: delete migrations django and start over deployment heroku 
Python :: tensor to int python 
Python :: how to merge two dictionaries 
Python :: standard deviation python 
Python :: python ip address is subnet of 
Python :: # find out of the memory of the python object 
Python :: isolate row based on index pandas 
Python :: django set random password 
Python :: multiple pdf to csv python 
Python :: dataframe to text file 
Python :: python round down 
Python :: mario cs50 
Python :: pywhatkit send message 
Python :: ardent 
Python :: pygame window at center 
Python :: ms access python dataframe 
Python :: pandas series index of value 
Python :: print p py pyt pyth pytho python in python 
Python :: python multiaxis slicing 
Python :: discord.py autorole 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =