Skip to content

Commit

Permalink
Unbreak examples by moving 'fig_number' paramter to the end of the list
Browse files Browse the repository at this point in the history
  • Loading branch information
Benno Evers authored and Benno Evers committed Mar 26, 2021
1 parent 08ff087 commit 3d3f9da
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions matplotlibcpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -475,9 +475,9 @@ template <typename Numeric>
void plot_surface(const std::vector<::std::vector<Numeric>> &x,
const std::vector<::std::vector<Numeric>> &y,
const std::vector<::std::vector<Numeric>> &z,
const long fig_number=0,
const std::map<std::string, std::string> &keywords =
std::map<std::string, std::string>())
std::map<std::string, std::string>(),
const long fig_number=0)
{
detail::_interpreter::get();

Expand Down Expand Up @@ -586,9 +586,9 @@ template <typename Numeric>
void plot3(const std::vector<Numeric> &x,
const std::vector<Numeric> &y,
const std::vector<Numeric> &z,
const long fig_number=0,
const std::map<std::string, std::string> &keywords =
std::map<std::string, std::string>())
std::map<std::string, std::string>(),
const long fig_number=0)
{
detail::_interpreter::get();

Expand Down Expand Up @@ -953,8 +953,8 @@ bool scatter(const std::vector<NumericX>& x,
const std::vector<NumericY>& y,
const std::vector<NumericZ>& z,
const double s=1.0, // The marker size in points**2
const long fig_number=0,
const std::map<std::string, std::string> & keywords = {}) {
const std::map<std::string, std::string> & keywords = {},
const long fig_number=0) {
detail::_interpreter::get();

// Same as with plot_surface: We lazily load the modules here the first time
Expand Down

0 comments on commit 3d3f9da

Please sign in to comment.