Answers for "change plot color matplotlib"

3

change graph colors python matplotlib

plt.plot([values], color='color')
Posted by: Guest on May-09-2021
0

changing plot background color in python

### 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')
Posted by: Guest on March-08-2022

Code answers related to "change plot color matplotlib"

Python Answers by Framework

Browse Popular Code Answers by Language