MCPcopy Create free account
hub / github.com/alandefreitas/matplotplusplus / legend_string

Method legend_string

source/matplot/axes_objects/histogram.cpp:83–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 std::string histogram::legend_string(std::string_view title) {
84 return " keyentry with boxes fillstyle solid border rgb '" +
85 to_string(edge_color_) + "' fillcolor '" +
86 to_string(face_color_) + "' title \"" + escape(title) + "\"";
87 }
88
89 std::string histogram::data_string() {
90 make_sure_data_is_preprocessed();

Callers

nothing calls this directly

Calls 2

to_stringFunction · 0.85
escapeFunction · 0.85

Tested by

no test coverage detected