Skip to content

Cannot create legend #36

@jboss-tamu

Description

@jboss-tamu

I am getting an error when trying to create a legend. I modified smithaxes.py as follows:

Before it had:
from matplotlib.legend_handler import HandlerLine2D

I changed this to:
from matplotlib.legend_handler import HandlerLine2DCompound as HandlerLine2D

This seems to have resolved it.

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