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

Function ylim

include/matplotlibcpp.h:1587–1603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1585
1586template<typename Numeric>
1587void ylim(Numeric left, Numeric right)
1588{
1589 detail::_interpreter::get();
1590
1591 PyObject* list = PyList_New(2);
1592 PyList_SetItem(list, 0, PyFloat_FromDouble(left));
1593 PyList_SetItem(list, 1, PyFloat_FromDouble(right));
1594
1595 PyObject* args = PyTuple_New(1);
1596 PyTuple_SetItem(args, 0, list);
1597
1598 PyObject* res = PyObject_CallObject(detail::_interpreter::get().s_python_function_ylim, args);
1599 if(!res) throw std::runtime_error("Call to ylim() failed.");
1600
1601 Py_DECREF(args);
1602 Py_DECREF(res);
1603}
1604
1605template<typename Numeric>
1606void xlim(Numeric left, Numeric right)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected