python matplotlib dark theme code example Example: matplotlib dark mode import matplotlib.pyplot as plt plt.style.use('dark_background')