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

Method set_color

src/text.rs:133–136  ·  view source on GitHub ↗

Sets the text color

(&mut self, color: &str)

Source from the content-addressed store, hash-verified

131
132 /// Sets the text color
133 pub fn set_color(&mut self, color: &str) -> &mut Self {
134 self.color = String::from(color);
135 self
136 }
137
138 /// Sets the horizontal alignment
139 ///

Callers 6

options_worksFunction · 0.45
test_textFunction · 0.45
test_text_3dFunction · 0.45
test_stream_arrows_1Function · 0.45
test_stream_arrows_2Function · 0.45
test_plot_tick_labelsFunction · 0.45

Calls

no outgoing calls

Tested by 6

options_worksFunction · 0.36
test_textFunction · 0.36
test_text_3dFunction · 0.36
test_stream_arrows_1Function · 0.36
test_stream_arrows_2Function · 0.36
test_plot_tick_labelsFunction · 0.36