MCPcopy Index your code
hub / github.com/cpmech/plotpy / add

Method add

src/plot.rs:192–195  ·  view source on GitHub ↗

Adds new graph entity

(&mut self, graph: &dyn GraphMaker)

Source from the content-addressed store, hash-verified

190
191 /// Adds new graph entity
192 pub fn add(&mut self, graph: &dyn GraphMaker) -> &mut Self {
193 self.buffer.push_str(graph.get_buffer());
194 self
195 }
196
197 /// Enables tight bounding box calculation when saving (default: `true`)
198 ///

Callers 15

legendMethod · 0.45
test_surface_geometryFunction · 0.45
test_surface_cylinderFunction · 0.45
test_inset_axes_1Function · 0.45
test_inset_axes_2Function · 0.45
test_inset_axes_3Function · 0.45
test_inset_axes_4Function · 0.45
test_inset_axes_5Function · 0.45
test_inset_axes_6Function · 0.45
test_inset_axes_7Function · 0.45
test_slope_icon_belowFunction · 0.45

Calls 1

get_bufferMethod · 0.45

Tested by 15

test_surface_geometryFunction · 0.36
test_surface_cylinderFunction · 0.36
test_inset_axes_1Function · 0.36
test_inset_axes_2Function · 0.36
test_inset_axes_3Function · 0.36
test_inset_axes_4Function · 0.36
test_inset_axes_5Function · 0.36
test_inset_axes_6Function · 0.36
test_inset_axes_7Function · 0.36
test_slope_icon_belowFunction · 0.36
test_slope_icon_aboveFunction · 0.36