Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3d3f9da

Browse files
Benno EversBenno Evers
Benno Evers
authored and
Benno Evers
committed
Unbreak examples by moving 'fig_number' paramter to the end of the list
1 parent 08ff087 commit 3d3f9da

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

matplotlibcpp.h

+6-6
Original file line numberDiff line numberDiff line change
@@ -475,9 +475,9 @@ template <typename Numeric>
475475
void plot_surface(const std::vector<::std::vector<Numeric>> &x,
476476
const std::vector<::std::vector<Numeric>> &y,
477477
const std::vector<::std::vector<Numeric>> &z,
478-
const long fig_number=0,
479478
const std::map<std::string, std::string> &keywords =
480-
std::map<std::string, std::string>())
479+
std::map<std::string, std::string>(),
480+
const long fig_number=0)
481481
{
482482
detail::_interpreter::get();
483483

@@ -586,9 +586,9 @@ template <typename Numeric>
586586
void plot3(const std::vector<Numeric> &x,
587587
const std::vector<Numeric> &y,
588588
const std::vector<Numeric> &z,
589-
const long fig_number=0,
590589
const std::map<std::string, std::string> &keywords =
591-
std::map<std::string, std::string>())
590+
std::map<std::string, std::string>(),
591+
const long fig_number=0)
592592
{
593593
detail::_interpreter::get();
594594

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

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

0 commit comments

Comments
 (0)