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.6.1 and upon importing my code, this generated a key error for line the_rc = plt.style.library["seaborn-colorblind"] saying "seaborn-colorblind" was a bad key.
Activity
QuLogic commented on Oct 25, 2022
This is due to the style renaming, but it's an oversight that this dictionary does not provide an alias for the old names.
Restore (and warn on) seaborn styles in style.library
Restore (and warn on) seaborn styles in style.library
Restore (and warn on) seaborn styles in style.library
Restore (and warn on) seaborn styles in style.library
Restore (and warn on) seaborn styles in style.library
Restore (and warn on) seaborn styles in style.library
Restore (and warn on) seaborn styles in style.library