Actually, is there any reason not to call this automatically for every plot?
| 2254 | |
| 2255 | // Actually, is there any reason not to call this automatically for every plot? |
| 2256 | inline 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 |
nothing calls this directly
no outgoing calls
no test coverage detected