@@ -55,6 +55,9 @@ struct DECL_STRUCT_ATTR Axes : public BaseWrapper {
55
55
// axhline
56
56
ObjectWrapper axhline (const pybind11::tuple &args = pybind11::tuple(),
57
57
const pybind11::dict &kwargs = pybind11::dict());
58
+ // axvline
59
+ ObjectWrapper axvline (const pybind11::tuple &args = pybind11::tuple(),
60
+ const pybind11::dict &kwargs = pybind11::dict());
58
61
59
62
// bar
60
63
container::BarContainer bar (const pybind11::tuple &args = pybind11::tuple(),
@@ -256,6 +259,7 @@ struct DECL_STRUCT_ATTR Axes : public BaseWrapper {
256
259
LOAD_FUNC_ATTR (add_collection, self);
257
260
LOAD_FUNC_ATTR (add_patch, self);
258
261
LOAD_FUNC_ATTR (axhline, self);
262
+ LOAD_FUNC_ATTR (axvline, self);
259
263
LOAD_FUNC_ATTR (bar, self);
260
264
#if MATPLOTLIB_MINOR_VER_GTE_4
261
265
LOAD_FUNC_ATTR (bar_label, self);
@@ -306,6 +310,7 @@ struct DECL_STRUCT_ATTR Axes : public BaseWrapper {
306
310
pybind11::object add_collection_attr;
307
311
pybind11::object add_patch_attr;
308
312
pybind11::object axhline_attr;
313
+ pybind11::object axvline_attr;
309
314
pybind11::object bar_attr;
310
315
pybind11::object bar_label_attr;
311
316
pybind11::object barh_attr;
@@ -383,6 +388,13 @@ ObjectWrapper Axes::axhline(const pybind11::tuple &args,
383
388
return ObjectWrapper (std::move (ret));
384
389
}
385
390
391
+ // axvline
392
+ ObjectWrapper Axes::axvline (const pybind11::tuple &args,
393
+ const pybind11::dict &kwargs) {
394
+ pybind11::object ret = axvline_attr (*args, **kwargs);
395
+ return ObjectWrapper (std::move (ret));
396
+ }
397
+
386
398
// bar
387
399
container::BarContainer Axes::bar (const pybind11::tuple &args,
388
400
const pybind11::dict &kwargs) {
0 commit comments