Matplotlib slow with large data sets, how to enable decimation?
问题 I use matplotlib for a signal processing application and I noticed that it chokes on large data sets. This is something that I really need to improve to make it a usable application. What I'm looking for is a way to let matplotlib decimate my data. Is there a setting, property or other simple way to enable that? Any suggestion of how to implement this are welcome. Some code: import numpy as np import matplotlib.pyplot as plt n=100000 # more then 100000 points makes it unusable slow plt.plot