Skip to content

Compatibility issue with matplotlib Legend _ncol vs _ncols #557

Open
@JohannesMaierhofer

Description

@JohannesMaierhofer

in _legend.py

if obj._ncol != 1:
        data["current axes"].axis_options.append(f"legend columns={obj._ncol}")

leads to
AttributeError: 'Legend' object has no attribute '_ncol'

Fix: replace with _ncols

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