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

Function tight_layout

include/matplotlibcpp.h:2256–2266  ·  view source on GitHub ↗

Actually, is there any reason not to call this automatically for every plot?

Source from the content-addressed store, hash-verified

2254
2255// Actually, is there any reason not to call this automatically for every plot?
2256inline void tight_layout() {
2257 detail::_interpreter::get();
2258
2259 PyObject *res = PyObject_CallObject(
2260 detail::_interpreter::get().s_python_function_tight_layout,
2261 detail::_interpreter::get().s_python_empty_tuple);
2262
2263 if (!res) throw std::runtime_error("Call to tight_layout() failed.");
2264
2265 Py_DECREF(res);
2266}
2267
2268// Support for variadic plot() and initializer lists:
2269

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected