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

Method set_rotation

src/text.rs:163–166  ·  view source on GitHub ↗

Sets the text rotation angle in degrees (2D only) See

(&mut self, rotation: f64)

Source from the content-addressed store, hash-verified

161 ///
162 /// See <https://matplotlib.org/stable/api/text_api.html#matplotlib.text.Text.set_rotation>
163 pub fn set_rotation(&mut self, rotation: f64) -> &mut Self {
164 self.rotation = Some(rotation);
165 self
166 }
167
168 /// Sets use bounding box flag
169 pub fn set_bbox(&mut self, flag: bool) -> &mut Self {

Callers 3

options_worksFunction · 0.80
test_textFunction · 0.80

Calls

no outgoing calls

Tested by 3

options_worksFunction · 0.64
test_textFunction · 0.64