MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / erase_artists

Function erase_artists

deeplabcut/utils/visualization.py:283–286  ·  view source on GitHub ↗
(ax)

Source from the content-addressed store, hash-verified

281
282
283def erase_artists(ax):
284 for artist in ax.lines + ax.collections + ax.artists + ax.patches + ax.images:
285 artist.remove()
286 ax.figure.canvas.draw_idle()
287
288
289def prepare_figure_axes(width, height, scale=1.0, dpi=100):

Callers 2

plot_gt_and_predictionsFunction · 0.90
plot_evaluation_resultsFunction · 0.85

Calls 1

removeMethod · 0.80

Tested by

no test coverage detected