MCPcopy Create free account
hub / github.com/cpmech/plotpy / clear_current_figure

Method clear_current_figure

src/plot.rs:292–295  ·  view source on GitHub ↗

Clears current figure

(&mut self)

Source from the content-addressed store, hash-verified

290
291 /// Clears current figure
292 pub fn clear_current_figure(&mut self) -> &mut Self {
293 self.buffer.push_str("plt.clf()\n");
294 self
295 }
296
297 /// Adds legend to the current axes using default Legend settings
298 ///

Callers 2

set_functions_workFunction · 0.80
test_plotFunction · 0.80

Calls

no outgoing calls

Tested by 2

set_functions_workFunction · 0.64
test_plotFunction · 0.64