import matplotlib.pyplot as plt plt.style.use('ggplot') colors = plt.rcParams['axes.prop_cycle'].by_key()['color']