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

Method flush_commands

source/matplot/backend/gnuplot.cpp:279–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277 bool gnuplot::render_data() { return flush_commands(); }
278
279 bool gnuplot::flush_commands() {
280 if constexpr (dont_let_it_close_too_fast) {
281 last_flush_ = std::chrono::high_resolution_clock::now();
282 }
283 pipe_.flush("\n");
284 if constexpr (trace_commands) {
285 std::cout << "\n\n\n\n" << std::endl;
286 }
287 return true;
288 }
289
290 bool gnuplot::supports_fonts() {
291 return terminal_has_font_option(terminal_);

Callers

nothing calls this directly

Calls 1

flushMethod · 0.80

Tested by

no test coverage detected