Overview
Matplotlib 3.10, released on February 15, 2025, improves rendering performance and default plot quality.
Main Features
Faster rendering
The Agg backend is optimized for faster rendering, especially for plots with many data points.
python
import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(0, 10, 10000)
y = np.sin(x) * np.exp(-x / 5)
fig, ax = plt.subplots()
ax.plot(x, y)
ax.set_title('Accelerated rendering with 10k points')
plt.savefig('plot.png', dpi=150)
Improved default styles
Default styles are modernized with better color palettes and more readable typography.
python
import matplotlib.pyplot as plt
import numpy as np
categories = ['A', 'B', 'C', 'D']
values = [23, 45, 12, 67]
fig, ax = plt.subplots()
ax.bar(categories, values)
ax.set_title('Improved styles')
plt.tight_layout()
plt.savefig('bars.png')
