| 1904 | } |
| 1905 | |
| 1906 | inline void axis(const std::string &axisstr) |
| 1907 | { |
| 1908 | detail::_interpreter::get(); |
| 1909 | |
| 1910 | PyObject* str = PyString_FromString(axisstr.c_str()); |
| 1911 | PyObject* args = PyTuple_New(1); |
| 1912 | PyTuple_SetItem(args, 0, str); |
| 1913 | |
| 1914 | PyObject* res = PyObject_CallObject(detail::_interpreter::get().s_python_function_axis, args); |
| 1915 | if(!res) throw std::runtime_error("Call to title() failed."); |
| 1916 | |
| 1917 | Py_DECREF(args); |
| 1918 | Py_DECREF(res); |
| 1919 | } |
| 1920 | |
| 1921 | inline void axvline(double x, double ymin = 0., double ymax = 1., const std::map<std::string, std::string>& keywords = std::map<std::string, std::string>()) |
| 1922 | { |
nothing calls this directly
no outgoing calls
no test coverage detected