Skip to content

Instantly share code, notes, and snippets.

@melgor
Last active May 5, 2018 11:12
Show Gist options
  • Save melgor/7dd78c4e5a7b9322034776535a92c23c to your computer and use it in GitHub Desktop.
Save melgor/7dd78c4e5a7b9322034776535a92c23c to your computer and use it in GitHub Desktop.
SOMPY Tutorial 1 Refactored
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Aya-S
Copy link

Aya-S commented May 5, 2018

Hello !
First of all , Thanks for the tutorial ,
i keep getting this error when calling .show(sm)

File "C:\ProgramData\Anaconda3\lib\site-packages\sompy-1.0-py3.6.egg\sompy\visualization\mapview.py", line 22, in _calculate_figure_params
row_sz = np.ceil(float(dim) / col_sz)

TypeError: unsupported operand type(s) for /: 'float' and 'NoneType'

Any idea what could be wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment