reset_plot
- tna.gui.gui_signals.reset_plot(fig, ax)[source]
Resets a Matplotlib figure and creates a new axis.
- Parameters:
fig (matplotlib.figure.Figure) – Figure object to be cleared.
ax (matplotlib.axes.Axes) – Previous axis (will be replaced).
- Returns:
New axis added to the figure.
- Return type:
matplotlib.axes.Axes