Skip to content

Commit d3f1162

Browse files
committed
API: add promote_figure to public API
1 parent ffa1f39 commit d3f1162

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mpl_gui/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
from ._manage_interactive import ion, ioff, is_interactive # noqa: F401
2424
from ._manage_backend import switch_backend, current_backend_module as _cbm
25-
from ._promotion import promote_figure as _promote_figure
25+
from ._promotion import promote_figure as promote_figure
2626
from ._creation import figure, subplots, subplot_mosaic # noqa: F401
2727

2828
from ._version import get_versions
@@ -67,7 +67,7 @@ def show(figs, *, block=None, timeout=0):
6767
if fig.canvas.manager is not None:
6868
managers.append(fig.canvas.manager)
6969
else:
70-
managers.append(_promote_figure(fig))
70+
managers.append(promote_figure(fig))
7171

7272
for manager in managers:
7373
manager.show()

0 commit comments

Comments
 (0)