Curso Completo De Python Programacion En Python Desde Cero -

def __init__(self, nombre, color): super().__init__(nombre) # llamar al padre self.color = color

import matplotlib.pyplot as plt x = [1,2,3,4] y = [10,20,25,30] plt.plot(x, y) plt.xlabel('Eje X') plt.ylabel('Eje Y') plt.title('Gráfico simple') plt.show() curso completo de python programacion en python desde cero