MCPcopy Create free account
hub / github.com/alceal/plotlars / set_subplot_reference

Method set_subplot_reference

crates/plotlars-plotly/src/subplot_grid/shared.rs:197–201  ·  view source on GitHub ↗
(&mut self, subplot: &str)

Source from the content-addressed store, hash-verified

195 }
196
197 pub(super) fn set_subplot_reference(&mut self, subplot: &str) {
198 if let Some(obj) = self.data.as_object_mut() {
199 obj.insert("subplot".to_string(), json!(subplot));
200 }
201 }
202
203 pub(super) fn ensure_color(&mut self, global_index: usize) {
204 let trace_type = self.data.get("type").and_then(|v| v.as_str()).unwrap_or("");

Callers 2

build_regularFunction · 0.80
assign_axis_referencesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected