Closed
Description
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
Labels
No labels