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

Method extra

src/plot.rs:1161–1164  ·  view source on GitHub ↗

Appends arbitrary Python commands to the script Use this to inject custom Matplotlib commands not yet covered by the library. Unlike `set_extra` methods on graph entities, this inserts raw Python.

(&mut self, commands: &str)

Source from the content-addressed store, hash-verified

1159 /// Use this to inject custom Matplotlib commands not yet covered by the library.
1160 /// Unlike `set_extra` methods on graph entities, this inserts raw Python.
1161 pub fn extra(&mut self, commands: &str) -> &mut Self {
1162 self.buffer.write_str(commands).unwrap();
1163 self
1164 }
1165
1166 /// Sets the Python3 executable command
1167 ///

Callers 1

additional_features_workFunction · 0.80

Calls

no outgoing calls

Tested by 1

additional_features_workFunction · 0.64