Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

greglucas
Copy link
Contributor

PR summary

Reading through the code I found it weird that the backend export class is called "Cairo" within the "Agg" section, I think this was just a typo originally in #8773. The actual monkeypatching happens based on the module name,

setattr(sys.modules[cls.__module__], name, getattr(cls, name))

not this class so we were using the proper Agg/Cairo renderers as expected. This just helps with naming consistency when looking through the code.

@QuLogic QuLogic added this to the v3.10.0 milestone Nov 5, 2024
@QuLogic QuLogic merged commit 1155eab into matplotlib:main Nov 5, 2024
42 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Nov 5, 2024
@greglucas greglucas deleted the gtk-agg-class branch November 5, 2024 23:17
QuLogic added a commit that referenced this pull request Nov 6, 2024
…085-on-v3.10.x

Backport PR #29085 on branch v3.10.x (FIX: Update GTK3Agg backend export name for consistency)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants