matplotlibcpp17
quiver.h
1
5#pragma once
6
7#include <matplotlibcpp17/common.h>
8
9#include <pybind11/pybind11.h>
10
11namespace matplotlibcpp17::quiver {
12
16struct DECL_STRUCT_ATTR Quiver : public BaseWrapper {
17public:
18 Quiver(const pybind11::object &q) { self = q; }
19 Quiver(pybind11::object &&q) { self = std::move(q); }
20};
21
25struct DECL_STRUCT_ATTR QuiverKey : public BaseWrapper {
26 QuiverKey(const pybind11::object &qk) { self = qk; }
27 QuiverKey(pybind11::object &&qk) { self = std::move(qk); }
28};
29
30} // namespace matplotlibcpp17::quiver
A base class for python wrapper classes.
Definition: common.h:39
A wrapper class for matplotlib.quiver.Quiver.
Definition: quiver.h:16
A wrapper class for matplotlib.quiver.QuiverKey.
Definition: quiver.h:25