me obsesione
import numpy as np
import matplotlib.pyplot as plt
marco1=[0,4]
marco2=[0,4]
x2=[0,4]
y2=[2,2]
x3=[0,4]
y3=[0.4,0.4]
y35=[1.6,1.9]
y36=[2.6,2.9]
x4=np.linspace(0,4,10)
y4=[1,2,1,2,1,0,0,0,1,2]
x6=np.linspace(2.2,3,10)
y6=[0,0,0.2,0.2,0.2,0.5,0.5,0.5,1.1,1.1]
sol=[3,3.01]
sol2=[2,2]
pajaro1=[2.4,2.5,2.4,2.5,2.4]
pajaro2=[2.1,2.2,2.3,2.4,2.5]
pajaro3=[2.1,2.2,2.1,2.2,2.1]
pajaro4=[2.5,2.6,2.7,2.8,2.9]
fig, ax = plt.subplots(figsize = (3,3))
ax.plot(marco1,marco2)
ax.plot(x2,y2,"#C84504",linewidth=200)
ax.plot(x3,y36,"#DE6225",linewidth= 60)
ax.plot(x3,y35,"#EE783F",linewidth= 60)
ax.plot(x4,y4,"#3D1E17",linewidth=30)
ax.plot(x3,y3,"#078CA7",linewidth= 90)
ax.plot(sol,sol2,"#E2E2E2",linewidth=30)
ax.plot(pajaro2,pajaro1,"#000000",linewidth= 2)
ax.plot(pajaro4,pajaro3,"#000000",linewidth= 2)
ax.axes.get_xaxis().set_visible(False)
ax.axes.get_yaxis().set_visible(False)
plt.show()
¿Quieres ver más aportes, preguntas y respuestas de la comunidad?