Skip to content

Error in plotp.py: 'Legend' object has no attribute 'legendHandles' #48

@vb-iman

Description

@vb-iman

Hello! I have run into an issue when using the FastLMM plotp.qqplot() function with newer versions of pylab/matplotlib. Specifically in line 934 of plotp.py:

for lo in leg.legendHandles: lo.set_markersize(10)

I get an AttributeErrror: 'Legend' object has no attribute 'legendHandles'

I was able to fix it by changing legendHandles to legend_handles.

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