@@ -68,6 +68,10 @@ struct DECL_STRUCT_ATTR Axes : public BaseWrapper {
68
68
container::BarContainer barh (const pybind11::tuple &args = pybind11::tuple(),
69
69
const pybind11::dict &kwargs = pybind11::dict());
70
70
71
+ // cla
72
+ ObjectWrapper cla (const pybind11::tuple &args = pybind11::tuple(),
73
+ const pybind11::dict &kwargs = pybind11::dict());
74
+
71
75
// contour
72
76
ObjectWrapper contour (const pybind11::tuple &args = pybind11::tuple(),
73
77
const pybind11::dict &kwargs = pybind11::dict());
@@ -259,6 +263,7 @@ struct DECL_STRUCT_ATTR Axes : public BaseWrapper {
259
263
WARN_MSG (" Not loading bar_label because matplotlib version is < 3.4.0" );
260
264
#endif
261
265
LOAD_FUNC_ATTR (barh, self);
266
+ LOAD_FUNC_ATTR (cla, self);
262
267
LOAD_FUNC_ATTR (contour, self);
263
268
LOAD_FUNC_ATTR (contourf, self);
264
269
LOAD_FUNC_ATTR (errorbar, self);
@@ -304,6 +309,7 @@ struct DECL_STRUCT_ATTR Axes : public BaseWrapper {
304
309
pybind11::object bar_attr;
305
310
pybind11::object bar_label_attr;
306
311
pybind11::object barh_attr;
312
+ pybind11::object cla_attr;
307
313
pybind11::object contour_attr;
308
314
pybind11::object contourf_attr;
309
315
pybind11::object errorbar_attr;
@@ -404,6 +410,13 @@ container::BarContainer Axes::barh(const pybind11::tuple &args,
404
410
return container::BarContainer (obj);
405
411
}
406
412
413
+ // cla
414
+ ObjectWrapper Axes::cla (const pybind11::tuple &args,
415
+ const pybind11::dict &kwargs) {
416
+ pybind11::object ret = cla_attr (*args, **kwargs);
417
+ return ObjectWrapper (std::move (ret));
418
+ }
419
+
407
420
// contour
408
421
ObjectWrapper Axes::contour (const pybind11::tuple &args,
409
422
const pybind11::dict &kwargs) {
0 commit comments