Skip to content

AttributeError in AreaFill.deserialize_model when fetching LineChart with custom-area-fills (v2.0.6+) #525

@marcelpauly

Description

@marcelpauly

Starting with version 2.0.6, get_chart() fails with an AttributeError when fetching a LineChart that has custom area fills enabled. The error occurs in AreaFill.deserialize_model(), which expects custom-area-fills to be a dictionary but receives a list instead. When custom area fills are disabled via the Datawrapper web interface, get_chart() works fine even with v2.0.6+.

Thank you for maintaining this excellent library! Please let me know if you need any additional information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions