Skip to content
Snippets Groups Projects
Commit db18391c authored by Iwainsky, Christian's avatar Iwainsky, Christian
Browse files

updates to patches to contain matplotlib.patches.Patch

parent 0bc9d865
Branches
Tags
No related merge requests found
......@@ -27,6 +27,17 @@ private:
pybind11::object circle_attr;
};
struct DECL_STRUCT_ATTR Patch : public BaseWrapper {
public:
Patch(const pybind11::dict &kwargs = pybind11::dict()) {
patch_attr = pybind11::module::import("matplotlib.patches").attr("Patch");
self = patch_attr(**kwargs);
}
private:
pybind11::object patch_attr;
};
/**
* @brief A wrapper class for matplotlib.patches.Ellipse
**/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment