Skip to content

Error while render devs-effort plot with devs stats as input  #396

@syberside

Description

@syberside

Hi!

I'm trying to draw devs-effor graph using dockerized version of tool.

When I run following command: docker run --rm -v <path_to_repo>:/repo srcd/hercules hercules --devs /repo | docker run --rm -i -v ./:/io srcd/hercules labours -m devs-efforts -o /io/devs.png I receive error

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Reading the input... done
Running: devs-efforts
matplotlib: backend is agg
Traceback (most recent call last):
  File "/usr/local/bin/labours", line 33, in <module>
    sys.exit(load_entry_point('labours==10.7.2', 'console_scripts', 'labours')())
  File "/usr/local/lib/python3.6/dist-packages/labours/cli.py", line 449, in main
    modes[mode]()
  File "/usr/local/lib/python3.6/dist-packages/labours/cli.py", line 363, in devs_efforts
    max_people=args.max_people,
  File "/usr/local/lib/python3.6/dist-packages/labours/modes/devs.py", line 305, in show_devs_efforts
    for tick in pyplot.gca().yaxis.iter_ticks():
AttributeError: 'YAxis' object has no attribute 'iter_ticks'

I got exactly the same behavior for all repositories that I've tried.

Other commands (e.g. replace devs-effort with old-vs-new) work fine.

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