import matplotlib.pyplot as plt the_rc = plt.style.library["seaborn-colorblind"] Using version 3.4.3 of matplotlib, this works fine. I recently installed my code on a machine with matplotlib version 3 ...