Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3339983

Browse files
committed
Update documentation in case no figure is saved
1 parent 9b3eb2e commit 3339983

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/backend_bases.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3230,7 +3230,8 @@ def save_figure(self, *args):
32303230
Returns
32313231
-------
32323232
str or `None`
3233-
The filepath of the saved figure. For GTK4 and Web backends it returns None.
3233+
The filepath of the saved figure. For GTK4 and WebAgg backends it returns `None`.
3234+
Returns `None` if figure is not saved.
32343235
"""
32353236
raise NotImplementedError
32363237

0 commit comments

Comments
 (0)