GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Bug]: FigureCanvasCairo.draw is a no-op · Issue #24012 · matplotlib/matplotlib

[Bug]: FigureCanvasCairo.draw is a no-op #24012

New issue
Copy link
New issue
Copy link
Open
Open
[Bug]: FigureCanvasCairo.draw is a no-op#24012
Copy link
Labels
backend: cairokeepItems to be ignored by the “Stale” Github ActionItems to be ignored by the “Stale” Github Actionstatus: inactiveMarked by the “Stale” Github ActionMarked by the “Stale” Github Action

Description

@anntzer
anntzer
opened on Sep 26, 2022
Issue body actions

Bug summary

FigureCanvasCairo.draw does not actually trigger a draw; it simply inherits the no-op FigureCanvasBase.draw.

See https://gitter.im/matplotlib/matplotlib?at=63305fe1aa0917742928071c for why this can be an issue.

Code for reproduction

# in an ipython shell:
matplotlib.backends.backend_cairo.FigureCanvasCairo.draw??

Actual outcome

a noop draw

Expected outcome

Probably _get_printed_image_surface can be moved into draw? Likely qtcairo/tkcairo/wxcairo could reuse some of that code too for deduplication.

Additional information

No response

Operating system

No response

Matplotlib Version

3.7.0.dev243+g0c5b79244f

Matplotlib Backend

cairo

Python version

No response

Jupyter version

No response

Installation

git checkout

Activity

  1. anntzer
    added
    backend: cairo
    on Sep 26, 2022
  2. github-actions commented on Dec 24, 2025

    @github-actions
    github-actionsBot
    on Dec 24, 2025 – with GitHub Actions
    More actions

    This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!

  3. github-actions
    added
    status: inactiveMarked by the “Stale” Github ActionMarked by the “Stale” Github Action
    on Dec 24, 2025
  4. tacaswell
    added
    keepItems to be ignored by the “Stale” Github ActionItems to be ignored by the “Stale” Github Action
    on Dec 24, 2025
  5. QuLogic
    added a parent issue on Sep 1, 2026
    • [MNT]: Deprecate internal Cairo backends #32276
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend: cairokeepItems to be ignored by the “Stale” Github ActionItems to be ignored by the “Stale” Github Actionstatus: inactiveMarked by the “Stale” Github ActionMarked by the “Stale” Github Action

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.