From 69b878e6ee99be2e1f6f48173ec90cd7b58816ee Mon Sep 17 00:00:00 2001 From: Erin Wild Date: Mon, 18 Feb 2019 19:46:07 -0500 Subject: [PATCH] Fix typos --- README.md | 8 ++++---- sompy/visualization/umatrix.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1d9fe56..e45df7f 100644 --- a/README.md +++ b/README.md @@ -30,9 +30,9 @@ python setup.py install Many thanks to @sebastiandev, the library is now standardized in a pythonic tradition. Below you can see some basic examples, showing how to use the library. -But I recommend you to go through the codes. There are several functionalities already implemented, but not documented. I would be very happy to add your new examples here. +But I recommend you to go through the codes. There are several functionalities already implemented, but not documented. I would be very happy to add your new examples here. -[Basice Example](https://gist.github.com/sevamoo/035c56e7428318dd3065013625f12a11) +[Basic Example](https://gist.github.com/sevamoo/035c56e7428318dd3065013625f12a11) ### Citation @@ -42,7 +42,7 @@ There is no published paper about this library. However if possible, please cite Main Contributers: Vahid Moosavi @sevamoo Sebastian Packmann @sebastiandev -Iván Vallés @ivallesp +Iván Vallés @ivallesp ``` @@ -51,5 +51,5 @@ For more information, you can contact me via sevamoo@gmail.com or svm@arch.ethz. -Thanks a lot. +Thanks a lot. Best Vahid Moosavi diff --git a/sompy/visualization/umatrix.py b/sompy/visualization/umatrix.py index 6a97631..b0b981c 100644 --- a/sompy/visualization/umatrix.py +++ b/sompy/visualization/umatrix.py @@ -30,7 +30,7 @@ def build_u_matrix(self, som, distance=1, row_normalized=False): return Umatrix.reshape(som.codebook.mapsize) def show(self, som, distance2=1, row_normalized=False, show_data=True, - contooor=True, blob=False, labels=False): + contour=True, blob=False, labels=False): umat = self.build_u_matrix(som, distance=distance2, row_normalized=row_normalized) msz = som.codebook.mapsize @@ -40,7 +40,7 @@ def show(self, som, distance2=1, row_normalized=False, show_data=True, self._fig, ax = plt.subplots(1, 1) pylab.imshow(umat, cmap=plt.cm.get_cmap('RdYlBu_r'), alpha=1) - if contooor: + if contour: mn = np.min(umat.flatten()) mx = np.max(umat.flatten()) std = np.std(umat.flatten())