Matplotlib - Performance and Large Data
This code tries to plot a large dataset but runs very slowly. What is the main issue?
import matplotlib.pyplot as plt import numpy as np x = np.linspace(0, 10, 1000000) y = np.sin(x) plt.plot(x, y, marker='o') plt.show()
