From ff2349415603dfc309b2f39813b30dbbad8314fa Mon Sep 17 00:00:00 2001 From: soblin Date: Wed, 23 Feb 2022 14:29:43 +0900 Subject: [PATCH] modified ArtistAnimation --- include/matplotlibcpp17/animation.h | 2 +- include/matplotlibcpp17/axes.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/matplotlibcpp17/animation.h b/include/matplotlibcpp17/animation.h index 4ce9874..89606d3 100644 --- a/include/matplotlibcpp17/animation.h +++ b/include/matplotlibcpp17/animation.h @@ -15,7 +15,7 @@ namespace matplotlibcpp17::animation { /** * @brief A wrapper class for matplotlib.animation.ArtistAnimation **/ -struct DECL_STRUCT_ATTR ArtistAnimation { +struct DECL_STRUCT_ATTR ArtistAnimation : public BaseWrapper { public: ArtistAnimation(const pybind11::tuple &args, const pybind11::dict &kwargs) { pybind11::object attr = pybind11::module::import("matplotlib.animation") diff --git a/include/matplotlibcpp17/axes.h b/include/matplotlibcpp17/axes.h index e7b194b..2c2820f 100644 --- a/include/matplotlibcpp17/axes.h +++ b/include/matplotlibcpp17/axes.h @@ -20,6 +20,9 @@ namespace matplotlibcpp17::axes { +/** + * @brief Return type for hist() + **/ using HistType = std::tuple, std::vector, container::BarContainer>;