Skip to content

Conversation

@JasonGross
Copy link
Contributor

As per
https://github.com/matplotlib/matplotlib/blob/42b88d01fdd93846d925b1097167d36ea31c7733/doc/api/prev_api_changes/api_changes_3.9.0/removals.rst?plain=1#L147, legendHandles was removed in matplotlib 3.9 after previously being deprecated in favor of legend_handles. Since requirements.txt requires matplotlib 3.9, we just use the new name.

Fixes #12

Done with

git grep --name-only legendHandles | xargs sed -i.bak 's/legendHandles/legend_handles/g'

As per
https://github.com/matplotlib/matplotlib/blob/42b88d01fdd93846d925b1097167d36ea31c7733/doc/api/prev_api_changes/api_changes_3.9.0/removals.rst?plain=1#L147,
`legendHandles` was removed in matplotlib 3.9 after previously being
deprecated in favor of `legend_handles`.  Since `requirements.txt`
requires matplotlib 3.9, we just use the new name.

Fixes JoshEngels#12

Done with
```
git grep --name-only legendHandles | xargs sed -i.bak 's/legendHandles/legend_handles/g'
```
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.

AttributeError: 'Legend' object has no attribute 'legendHandles'

1 participant