Skip to content

Model failed to draw due to matplotlib issue #111

@alicia-krause

Description

@alicia-krause

Hi!

First time running GADMA and I've been able to succesfully run the model. However, I'm getting the message 'failed to draw model due to the following exception: module 'matplotlib.cbook' has no attribute 'MatplotlibDeprecationWaring." My advisor and I believe this could be due to recent updates in matplotlib due to some community posts we've been seeing about other modeling programs having issues with recent matplotlib updates. For reference I'm running gadma ver. 2.0.3 and matplotlib 3.7.2. At completion I'm able to get the AFS plots but not the blue demographic model plot.

In hopes of trouble shooting this my advisor and I tried running an older matplotlib ver. 3.6.3 with gadma 2.0.3 but we are running into a new coding issue message: "Error occurred during caching: MaskedArray.array_wrap() takes from 2 to 3 positional arguments but 4 were given. Got vector [] of type <class 'gadma.utils.utils.WeightedMetaArray'>. Please, send this warning to ekaterina.e.noskova@gmail.com."

Any advice or troubleshooting help is appreciated!

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