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

Method set_bbox_style

src/text.rs:207–210  ·  view source on GitHub ↗

Sets style of bounding box; example Examples: "square,pad=0.3" "circle,pad=0.3" "larrow,pad=0.3" "rarrow,pad=0.3" "darrow,pad=0.3" "round,pad=0.3,rounding_size=0.15" "round4,pad=0.3,rounding_size=0.2" "sawtooth,pad=0.3,tooth_size=0.1" "roundtooth,pad=0.3,tooth_size=0.2" See [Matplotlib](https://matplotlib.org/stable/api/_as_gen/matplotlib.patches.BoxStyle.html)

(&mut self, style: &str)

Source from the content-addressed store, hash-verified

205 ///
206 /// See [Matplotlib](https://matplotlib.org/stable/api/_as_gen/matplotlib.patches.BoxStyle.html)
207 pub fn set_bbox_style(&mut self, style: &str) -> &mut Self {
208 self.bbox_style = String::from(style);
209 self
210 }
211
212 /// Sets extra matplotlib commands (comma separated)
213 ///

Callers 2

options_box_worksFunction · 0.80
test_textFunction · 0.80

Calls

no outgoing calls

Tested by 2

options_box_worksFunction · 0.64
test_textFunction · 0.64