9#include <matplotlibcpp17/common.h>
11#include <pybind11/pybind11.h>
13namespace matplotlibcpp17::collections {
21 self = pathcollection;
25 self = std::move(pathcollection);
30 std::pair<ObjectWrapper, ObjectWrapper>
31 legend_elements(
const pybind11::tuple &args = pybind11::tuple(),
32 const pybind11::dict &kwargs = pybind11::dict());
35 void load_attrs() { LOAD_FUNC_ATTR(legend_elements,
self); }
36 pybind11::object legend_elements_attr;
42inline std::pair<ObjectWrapper, ObjectWrapper>
44 const pybind11::dict &kwargs) {
45 pybind11::list ret = legend_elements_attr(*args, **kwargs);
46 pybind11::object handles = ret[0];
47 pybind11::object labels = ret[1];
57 const pybind11::dict &kwargs = pybind11::dict()) {
58 pybind11::object attr = pybind11::module::import(
"matplotlib.collections")
59 .attr(
"PatchCollection");
60 self = attr(*args, **kwargs);
65 ObjectWrapper set_array(
const pybind11::tuple &args = pybind11::tuple(),
66 const pybind11::dict &kwargs = pybind11::dict());
69 void load_attrs() { LOAD_FUNC_ATTR(set_array,
self); }
70 pybind11::object set_array_attr;
73inline ObjectWrapper PatchCollection::set_array(
const pybind11::tuple &args,
74 const pybind11::dict &kwargs) {
75 pybind11::object ret = set_array_attr(*args, **kwargs);
84 QuadMesh(
const pybind11::object &quadmesh) {
self = quadmesh; }
85 QuadMesh(pybind11::object &&quadmesh) {
self = std::move(quadmesh); }
A base class for python wrapper classes.
Definition: common.h:39
A proxy class for pybind object.
Definition: common.h:50
A wrapper class for matplotlib.collections.PatchCollection.
Definition: collections.h:54
A wrapper class for matplotlib.collections.PathCollection.
Definition: collections.h:18
std::pair< ObjectWrapper, ObjectWrapper > legend_elements(const pybind11::tuple &args=pybind11::tuple(), const pybind11::dict &kwargs=pybind11::dict())
Definition: collections.h:43
A wrapper class for matplotlib.collections.QuadMesh.
Definition: collections.h:82