MCPcopy Create free account
hub / github.com/HViktorTsoi/FAST_LIO_LOCALIZATION / grid

Function grid

include/matplotlibcpp.h:2066–2081  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2064}
2065
2066inline void grid(bool flag)
2067{
2068 detail::_interpreter::get();
2069
2070 PyObject* pyflag = flag ? Py_True : Py_False;
2071 Py_INCREF(pyflag);
2072
2073 PyObject* args = PyTuple_New(1);
2074 PyTuple_SetItem(args, 0, pyflag);
2075
2076 PyObject* res = PyObject_CallObject(detail::_interpreter::get().s_python_function_grid, args);
2077 if(!res) throw std::runtime_error("Call to grid() failed.");
2078
2079 Py_DECREF(args);
2080 Py_DECREF(res);
2081}
2082
2083inline void show(const bool block = true)
2084{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected