Matplotlib giving error “OverflowError: In draw_path: Exceeded cell block limit”

The problem is a hardcoded limit in the number of points in the backend Agg.

Try using:

import matplotlib as mpl
mpl.rcParams['agg.path.chunksize'] = 10000

or other large value.

You can find the issue and the solution proposed here: https://github.com/matplotlib/matplotlib/issues/5907

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)