From 89aea86bff52b0dc81c4381cc55e3980bc00f9fb Mon Sep 17 00:00:00 2001 From: Mamoru Sobue Date: Tue, 8 Feb 2022 13:43:18 +0900 Subject: [PATCH 1/2] changed doxygen.png to doxygen.svg --- doc/footer.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/footer.html b/doc/footer.html index 0cfc930..31065c8 100644 --- a/doc/footer.html +++ b/doc/footer.html @@ -6,14 +6,14 @@ $navpath + doxygen $doxygenversion From 503d917911401654c0a1cacfa404a9acbe26925e Mon Sep 17 00:00:00 2001 From: soblin Date: Sat, 12 Feb 2022 21:14:35 +0900 Subject: [PATCH 2/2] renamed hist's return type --- include/matplotlibcpp17/axes.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/matplotlibcpp17/axes.h b/include/matplotlibcpp17/axes.h index e30956b..c0ce047 100644 --- a/include/matplotlibcpp17/axes.h +++ b/include/matplotlibcpp17/axes.h @@ -20,6 +20,9 @@ namespace matplotlibcpp17::axes { +using HistType = std::tuple, std::vector, + container::BarContainer>; + /** * @brief A wrapper class for matplotlib.axes.Axes **/ @@ -99,9 +102,8 @@ struct DECL_STRUCT_ATTR Axes { const pybind11::dict &kwargs = pybind11::dict()); // hist - std::tuple, std::vector, container::BarContainer> - hist(const pybind11::tuple &args = pybind11::tuple(), - const pybind11::dict &kwargs = pybind11::dict()); + HistType hist(const pybind11::tuple &args = pybind11::tuple(), + const pybind11::dict &kwargs = pybind11::dict()); // hist2d pybind11::object hist2d(const pybind11::tuple &args = pybind11::tuple(),