hhuangwx / cmaps

user defined colormaps in matplotlib.
https://github.com/hhuangwx/cmaps
GNU General Public License v3.0
222 stars 71 forks source link

Unable to import cmaps when PySide is installed #11

Open wxguy opened 1 year ago

wxguy commented 1 year ago

Trying to use your module. Installed cmaps from conda and tried within a single script and it worked without an issue. However, when I imported into my actual project which has PySide6 (installed from conda as well), it resulted in the following error.

import cmaps
  File "shibokensupport/signature/loader.py", line 61, in feature_imported
  File "shibokensupport/feature.py", line 135, in feature_imported
AttributeError: 'Cmaps' object has no attribute '__name__'. Did you mean: '__ne__'?

Any way to solve this issue? Or is it possible to use it without installing it?

hhuangwx commented 1 year ago

Maybe there is also a cmaps module in the pyside6?