I\'m trying to render an image using matplotlib with 100000000 data points and it produces the error OverflowError: In draw_path: Exceeded cell block limit
matplotlib
OverflowError: In draw_path: Exceeded cell block limit
The problem is a hardcoded limit in the number of points in the backend Agg.
Agg
It can be solved by mpl.rcParams['agg.path.chunksize'] = 10000.
mpl.rcParams['agg.path.chunksize'] = 10000
You can find the issue and the solution proposed here: https://github.com/matplotlib/matplotlib/issues/5907