I have a loop where i create some plots and I need unique marker for each plot. I think about creating function, which returns random symbol, and use it in my program in thi
import matplotlib.pyplot as plt fig = plt.figure() markers=['^', 's', 'p', 'h', '8'] for i in range(5): plt.plot(x[i], y[i], c='green', marker=markers[i]) plt.xlabel('X Label') plt.ylabel('Y Label') plt.show()