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

Function subplots_adjust

include/matplotlibcpp.h:1008–1029  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1006}
1007
1008inline bool subplots_adjust(const std::map<std::string, double>& keywords = {})
1009{
1010 detail::_interpreter::get();
1011
1012 PyObject* kwargs = PyDict_New();
1013 for (std::map<std::string, double>::const_iterator it =
1014 keywords.begin(); it != keywords.end(); ++it) {
1015 PyDict_SetItemString(kwargs, it->first.c_str(),
1016 PyFloat_FromDouble(it->second));
1017 }
1018
1019
1020 PyObject* plot_args = PyTuple_New(0);
1021
1022 PyObject* res = PyObject_Call(detail::_interpreter::get().s_python_function_subplots_adjust, plot_args, kwargs);
1023
1024 Py_DECREF(plot_args);
1025 Py_DECREF(kwargs);
1026 if(res) Py_DECREF(res);
1027
1028 return res;
1029}
1030
1031template< typename Numeric>
1032bool named_hist(std::string label,const std::vector<Numeric>& y, long bins=10, std::string color="b", double alpha=1.0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected