diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-01-11 21:08:04 -0500 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-01-11 21:08:04 -0500 |
commit | b84588ec3149aaecaa61d09422446a8eb92a4da7 (patch) | |
tree | 8f1eda8081e317b141e492cbfd39fdbd49ba4d5f /data.py | |
parent | 7165fdce6ace32974992139a00ba79b7086dc558 (diff) |
fixed data.py offsetter
Diffstat (limited to 'data.py')
-rw-r--r-- | data.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -123,7 +123,7 @@ elif arg == 'neighbor': for trial in trials: nei = trial.nearest_neighbor() for n in range(len(nei)): - nei[n] += ((-1)**n)*.05 + nei[n] += n*.05 plt.xlabel('Square root of Trial Area (cm)') plt.ylabel('Nearest Neighbor for Individual Pits (cm)') x += [math.sqrt(trial.size[0]*trial.size[1])]*len(nei) |