forked from soblin/matplotlibcpp17
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontainer.h
More file actions
28 lines (21 loc) · 665 Bytes
/
Copy pathcontainer.h
File metadata and controls
28 lines (21 loc) · 665 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
* @file container.h
* @brief corresponding header for matplotlib.axes
**/
#ifndef MATPLOTLIBCPP17_CONTAINER_H
#define MATPLOTLIBCPP17_CONTAINER_H
#include <matplotlibcpp17/common.h>
#include <pybind11/pybind11.h>
namespace matplotlibcpp17::container {
/**
* @brief A wrapper class for matplotlib.container.BarContainer
**/
struct DECL_STRUCT_ATTR BarContainer : public BaseWrapper {
public:
BarContainer(const pybind11::object &bar_container) { self = bar_container; }
BarContainer(pybind11::object &&bar_container) {
self = std::move(bar_container);
}
};
} // namespace matplotlibcpp17::container
#endif /* MATPLOTLIBCPP17_CONTAINER_H */