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

Method set_streamplot_arrow_style

src/stream.rs:169–172  ·  view source on GitHub ↗

Sets the arrow style Options: "`-`" -- Curve : None "`->`" -- CurveB : head_length=0.4,head_width=0.2 "`-[`" -- BracketB : widthB=1.0,lengthB=0.2,angleB=None "`-|>`" -- CurveFilledB : head_length=0.4,head_width=0.2 "`<-`" -- CurveA : head_length=0.4,head_width=0.2 "`<->`" -- CurveAB : head_length=0.4,head_width=0.2 "`<|-`" -- CurveFille

(&mut self, style: &str)

Source from the content-addressed store, hash-verified

167 /// * "`|-|`" -- BarAB : widthA=1.0,angleA=None,widthB=1.0,angleB=None
168 /// * As defined in <https://matplotlib.org/stable/api/_as_gen/matplotlib.patches.FancyArrowPatch.html>
169 pub fn set_streamplot_arrow_style(&mut self, style: &str) -> &mut Self {
170 self.streamplot_arrow_style = String::from(style);
171 self
172 }
173
174 /// Sets the density of streamlines (higher = more lines)
175 pub fn set_streamplot_density(&mut self, density: f64) -> &mut Self {

Callers 1

test_stream_arrows_1Function · 0.80

Calls

no outgoing calls

Tested by 1

test_stream_arrows_1Function · 0.64