“Trazar el fondo de color matplotlib” Código de respuesta

color de fondo matplotlib

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')
Exuberant Eel

Trazar el fondo de 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')
DON-PECH

Respuestas similares a “Trazar el fondo de color matplotlib”

Preguntas similares a “Trazar el fondo de color matplotlib”

Más respuestas relacionadas con “Trazar el fondo de color matplotlib” en Python

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código