(&self)
| 74 | } |
| 75 | |
| 76 | fn to_html(&self) -> String { |
| 77 | let result = build_plotly_result(self); |
| 78 | if result.layout_overrides.is_some() { |
| 79 | let json = ir_to_json(self).unwrap_or_default(); |
| 80 | render_html_from_json(&json) |
| 81 | } else { |
| 82 | result.plot.to_html() |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | fn to_inline_html(&self, plot_div_id: Option<&str>) -> String { |
| 87 | let result = build_plotly_result(self); |
nothing calls this directly
no test coverage detected