Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Request: for non-interactive backends make fig.canvas.draw() force the render #16558

Closed
Milestone
@pharshalp

Description

@pharshalp

Bug report

Bug summary
https://discourse.matplotlib.org/t/fig-draw-renderer-vs-fig-canvas-draw/20890

When using a non-interactive backend (specifically the PGF backend), I noticed that fig.canvas.draw() isn’t equivalent to fig.draw(fig.canvas.get_renderer()). Can anyone please explain the difference between these two approaches?

(this has been answered) Please see the explanation by@tacaswell on discourse.

Reproducing the last part of the response since it is potentially an actionable item

I suspect that we should add code to the draw methods of the non-interactive backends to force the render, but that needs a bit of thought to make sure we don’t have any unintended consequences of that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp