Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Matplotlib tostring_rgb() removal #2473

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dofuuz
Copy link

@dofuuz dofuuz commented Feb 4, 2025

Pull request checklist

  • The PR has a proper title. Use Semantic Commit Messages. (No more branch-name title please)
  • Make sure this is ready to be merged into the relevant branch. Please don't create a PR and let it hang for a few days.
  • Ensure you can run the codes you submitted succesfully. These submissions will be prioritized for review:
    Fix existing bugs reported by user feedback (or you met);

PR type

  • Bug fix

Description

Fix #2411

AttributeError: 'FigureCanvasAgg' object has no attribute 'tostring_rgb'

Matplotlib v3.10 has removed tostring_rgb(). This fixes the issue.

AttributeError: 'FigureCanvasAgg' object has no attribute 'tostring_rgb'
@dofuuz dofuuz changed the title Fix Matplotlib tostring_rgb() removal fix: Matplotlib tostring_rgb() removal Feb 4, 2025
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: 'FigureCanvasAgg' object has no attribute 'tostring_rgb'
1 participant