diff options
author | Aki <please@ignore.pl> | 2022-09-03 00:10:41 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-09-03 00:12:17 +0200 |
commit | 07b0fb8ef544dbf007068b5b23dd7ec989ac8017 (patch) | |
tree | 77129f78d8bd6664db8ed2ba7e0ae904abf3b395 /szilagyi/plots.py | |
parent | e3c151ad4ca8ae147ea00cddc08d0b40de72e192 (diff) | |
download | szilagyi-07b0fb8ef544dbf007068b5b23dd7ec989ac8017.zip szilagyi-07b0fb8ef544dbf007068b5b23dd7ec989ac8017.tar.gz szilagyi-07b0fb8ef544dbf007068b5b23dd7ec989ac8017.tar.bz2 |
Moved dataset loading function to dataset module
Diffstat (limited to 'szilagyi/plots.py')
-rw-r--r-- | szilagyi/plots.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/szilagyi/plots.py b/szilagyi/plots.py index 8b325d6..9e0c2c5 100644 --- a/szilagyi/plots.py +++ b/szilagyi/plots.py @@ -2,6 +2,7 @@ import os import matplotlib.pyplot as plot +from . import _dataset from .nomogram import * @@ -14,7 +15,7 @@ def grid(start, end, steps): if __name__ == "__main__": - swis = load(os.path.join(os.path.dirname(__file__), "_dataset")) + swis = _dataset.load() def _swi(x, y): # dt, depth segments = find_boundary_curves(swis, x, y) |