Skip to content

Conversation

@elicox0
Copy link

@elicox0 elicox0 commented Mar 31, 2023

This fixes an AttributeError when a user calls plt.legend() and then saves a figure with tikzplotlib.save. Since obj in the relevant line is of type matplotlib.legend.Legend(), the attribute is ncols and not ncol (see https://matplotlib.org/stable/api/legend_api.html#matplotlib.legend.Legend).

@FriedrichFroebel
Copy link

FriedrichFroebel commented Mar 31, 2023

This duplicates (at least) #574, #565 and #558 and just has not been merged yet, see #574 (comment) as well. This is no typo, but a change from matplotlib 3.6.0.

@GillesC
Copy link

GillesC commented Jan 26, 2024

Why is this not merged?

@FriedrichFroebel
Copy link

Because maintenance is more or less stalled at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants