diff --git a/nanocomp/NanoComp.py b/nanocomp/NanoComp.py
index <HASH>..<HASH> 100644
--- a/nanocomp/NanoComp.py
+++ b/nanocomp/NanoComp.py
@@ -6,7 +6,7 @@ import nanocomp.compplots as compplots
 import numpy as np
 import logging
 from nanomath import write_stats
-from NanoPlot.nanoplotter.timeplots import subsample_datasets
+from nanoplot.utils import subsample_datasets
 
 
 def main():
changing path from which to import subsample_datasets