import matplotlib.pyplot as plt
import numpy as np
colors = [ 'b', 'g', 'r', 'c', 'm', 'y', 'k', 'w' ]
fig, axs = plt.subplots(2,4)
for ax,c in zip(axs.flat,colors):
ax.plot([1,2,3],[4,5,6],color=c)
# for ax in axs.flat:
# ax.set_axis_off()
fig.tight_layout()
import matplotlib.pyplot as plt
import numpy as np
colors = [ 'b', 'g', 'r', 'c', 'm', 'y', 'k', 'w' ]
fig, axs = plt.subplots(2,4)
for ax,c in zip(axs.flat,colors):
ax.plot([1,2,3],[4,5,6],color=c)
for ax in axs.flat:
ax.set_axis_off()
fig.tight_layout()