From 4d72fa9de4a5dc86231dba946bdc3281c237126a Mon Sep 17 00:00:00 2001 From: Ian Date: Mon, 11 Feb 2019 18:27:42 -0500 Subject: [PATCH] update from last commit close #23 --- pcbdevice/utils/plotimg.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 pcbdevice/utils/plotimg.py diff --git a/pcbdevice/utils/plotimg.py b/pcbdevice/utils/plotimg.py new file mode 100644 index 0000000..edf87fe --- /dev/null +++ b/pcbdevice/utils/plotimg.py @@ -0,0 +1,9 @@ +import numpy as np +import matplotlib.pyplot as plt + + +def plotPath(img): + plt.matshow(img) + plt.colorbar() + plt.show() + return 1