MCPcopy Create free account
hub / github.com/HxCa1/BEV-LIO-LC / pause

Function pause

include/matplotlibcpp.h:2152–2164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2150
2151template<typename Numeric>
2152inline void pause(Numeric interval)
2153{
2154 detail::_interpreter::get();
2155
2156 PyObject* args = PyTuple_New(1);
2157 PyTuple_SetItem(args, 0, PyFloat_FromDouble(interval));
2158
2159 PyObject* res = PyObject_CallObject(detail::_interpreter::get().s_python_function_pause, args);
2160 if(!res) throw std::runtime_error("Call to pause() failed.");
2161
2162 Py_DECREF(args);
2163 Py_DECREF(res);
2164}
2165
2166inline void save(const std::string& filename)
2167{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected