Open unnir opened 6 years ago
The maintainer of this repo is not very active. Anyway, I'm pretty sure you're having the same problem as everyone else: there's a line in the source code that needs changing. Pasted from my issue submission;
This has actually been identified previously on stackoverflow. The top voted answer sorted the issue for me. https://stackoverflow.com/questions/34264282/typeerror-ufunc-add-did-not-contain-a-loop
Follow the link, follow the advice and it should work like a charm. Hope this helps!
Thanks a lot for this helpful comment !
to save people time scrolling and searching through the few answers on that stackoverflow post, the fix is:
open gdsCAD/core.py
change this line:
colors += matplotlib.cm.gist_ncar(np.linspace(0.98, 0, 15))
to this line:
colors += list(matplotlib.cm.gist_ncar(np.linspace(0.98, 0, 15)))
I'm trying to start the example script:
layout.show()
And getting this error:
TypeError: ufunc 'add' did not contain a loop with signature matching types dtype('S32') dtype('S32') dtype('S32')