vMeijin / pySmithPlot

Matplotlib extension for creating Smith charts with Python
127 stars 73 forks source link

Cannot create legend #36

Open jboss-tamu opened 1 year ago

jboss-tamu commented 1 year ago

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.