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

Method include_comment

source/matplot/backend/backend_interface.cpp:144–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 }
143
144 void backend_interface::include_comment(
145 [[maybe_unused]] const std::string &text) {
146 if (consumes_gnuplot_commands()) {
147 throw std::logic_error(
148 "There is no function to include_comment in this backend yet");
149 } else {
150 throw std::logic_error(
151 "This backend has no function to include_comment because it is "
152 "not based on gnuplot commands");
153 }
154 }
155
156 void backend_interface::show(class matplot::figure_type *f) {
157 // The default implementation waits for the user to interact with the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected