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

Method clear_current_axes

src/plot.rs:286–289  ·  view source on GitHub ↗

Clears the current axes

(&mut self)

Source from the content-addressed store, hash-verified

284
285 /// Clears the current axes
286 pub fn clear_current_axes(&mut self) -> &mut Self {
287 self.buffer.push_str("plt.gca().cla()\n");
288 self
289 }
290
291 /// Clears current figure
292 pub fn clear_current_figure(&mut self) -> &mut Self {

Callers 3

set_functions_workFunction · 0.80
test_subplotFunction · 0.80
test_plotFunction · 0.80

Calls

no outgoing calls

Tested by 3

set_functions_workFunction · 0.64
test_subplotFunction · 0.64
test_plotFunction · 0.64