Skip to content

Commit

Permalink
Merged branch 'master'
Browse files Browse the repository at this point in the history
  • Loading branch information
soblin committed Feb 12, 2022
2 parents d21e01a + 503d917 commit 667d1ea
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions include/matplotlibcpp17/axes.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

namespace matplotlibcpp17::axes {

using HistType = std::tuple<std::vector<double>, std::vector<double>,
container::BarContainer>;

/**
* @brief A wrapper class for matplotlib.axes.Axes
**/
Expand Down Expand Up @@ -99,9 +102,8 @@ struct DECL_STRUCT_ATTR Axes {
const pybind11::dict &kwargs = pybind11::dict());

// hist
std::tuple<std::vector<double>, std::vector<double>, 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(),
Expand Down

0 comments on commit 667d1ea

Please sign in to comment.