diff --git a/xgm.py b/xgm.py index c9b717c864e92c485511302c823df048fc729f42..dbc3eb7732f313fdec3f2ecb3ad38b7dedc0ea0e 100644 --- a/xgm.py +++ b/xgm.py @@ -535,7 +535,7 @@ def calibrateTIM(data, rollingWindow=200, mcp=1, plot=False, use_apd=True, intst ax = plt.subplot(234) xgm_fast = selectSASEinXGM(data) - ax.scatter(filteredTIM, xgm_fast, s=5, alpha=0.1, rasterize=True) + ax.scatter(filteredTIM, xgm_fast, s=5, alpha=0.1, rasterized=True) fit, cov = np.polyfit(filteredTIM.values.flatten(),xgm_fast.values.flatten(),1, cov=True) y=np.poly1d(fit) x=np.linspace(filteredTIM.min(), filteredTIM.max(), 10)