Using style sheets with the plt.style.context context manager only updates some style changes in Jupyter Notebooks/Quarto documents. import matplotlib.pyplot as plt from cycler import cycler def ...