File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
doc/release/next_whats_new Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,9 @@ Technical detail: Standalone figures use `.FigureCanvasBase` as canvas. This is
4848replaced by a backend-dependent subclass when registering with pyplot, and is
4949reset to `.FigureCanvasBase ` when the figure is closed. `.Figure.savefig ` uses
5050the current canvas to save the figure (if possible). Since `.FigureCanvasBase `
51- can not render the figure, when using savefig it will fallback to`.FigureCanvasAgg`
52- which is Agg-based. Any Agg-based backend will create the same file output, however
51+ can not render the figure, when saving the figure, it will fallback to a suitable
52+ canvas subclass, e.g. `.FigureCanvasAgg ` for raster outputs such as png.
53+ Any Agg-based backend will create the same file output, however
5354There may be slight differences for non-Agg backends; e.g. if you use "GTK4Cairo" as
5455interactive backend, ``fig.savefig("file.png") `` may create a slightly different
5556image depending on whether the figure is registered with pyplot or not. In
You can’t perform that action at this time.
0 commit comments