make_empty_figure

make_empty_figure#

tollan.plot.plotly.make_empty_figure(place_holder_text: str | None = None) Figure[source]#

Create an empty figure with optional placeholder text.

Parameters:

place_holder_text (str, optional) – Text to display in the center of the empty figure.

Returns:

Empty Plotly figure with hidden axes.

Return type:

go.Figure

Examples

>>> fig = make_empty_figure("No data available")
>>> fig.show()