Skip to content

Commit 5906a4f

Browse files
committed
Update what's new according to suggestions
1 parent 8b77fff commit 5906a4f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/release/next_whats_new/pyplot-register-figure.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ Technical detail: Standalone figures use `.FigureCanvasBase` as canvas. This is
4848
replaced by a backend-dependent subclass when registering with pyplot, and is
4949
reset to `.FigureCanvasBase` when the figure is closed. `.Figure.savefig` uses
5050
the 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
5354
There may be slight differences for non-Agg backends; e.g. if you use "GTK4Cairo" as
5455
interactive backend, ``fig.savefig("file.png")`` may create a slightly different
5556
image depending on whether the figure is registered with pyplot or not. In

0 commit comments

Comments
 (0)