Skip to content

Missing matplotlib version specification #1056

Open
@monique2208

Description

@monique2208

We ran into an error using hedtools in the psychopy-bids tool.

The issue is that hedtools does not explicitly specify its dependency versions (e.g., matplotlib). This results in errors such as:

  File "C:\Users\user\Downloads\untitled_lastrun.py", line 35, in <module>
    from psychopy_bids.bids import BIDSBehEvent
  ...
  File "C:\Program Files\PsychoPy\lib\site-packages\hed\tools\visualization\word_cloud_util.py", line 142, in __init__
    self.colormap = mp1.colormaps[colormap]
AttributeError: module 'matplotlib' has no attribute 'colormaps'

Could this be updated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions