@@ -978,8 +978,7 @@ bool bar(const std::vector<Numeric> &y, std::string ec = "black",
978
978
return res;
979
979
}
980
980
981
- inline bool
982
- subplots_adjust (const std::map<std::string, double > &keywords = {}) {
981
+ inline bool subplots_adjust (const std::map<std::string, double > &keywords = {}) {
983
982
984
983
PyObject *kwargs = PyDict_New ();
985
984
for (std::map<std::string, double >::const_iterator it = keywords.begin ();
@@ -1752,26 +1751,6 @@ bool plot(const A &a, const B &b, const std::string &format, Args... args) {
1752
1751
return plot (a, b, format) && plot (args...);
1753
1752
}
1754
1753
1755
- #if 0
1756
- /*
1757
- * This group of plot() functions is needed to support initializer lists, i.e.
1758
- * calling plot( {1,2,3,4} )
1759
- */
1760
- inline bool plot(const std::vector<double> &x, const std::vector<double> &y,
1761
- const std::string &format = "") {
1762
- return plot<std::vector<double>, std::vector<double>>(x, y, format);
1763
- }
1764
-
1765
- inline bool plot(const std::vector<double> &y, const std::string &format = "") {
1766
- return plot<std::vector<double>>(y, format);
1767
- }
1768
-
1769
- inline bool plot(const std::vector<double> &x, const std::vector<double> &y,
1770
- const std::map<std::string, std::string> &keywords) {
1771
- return plot<std::vector<double>, std::vector<double>>(x, y, keywords);
1772
- }
1773
- #endif
1774
-
1775
1754
/*
1776
1755
* This class allows dynamic plots, ie changing the plotted data without
1777
1756
* clearing and re-plotting
0 commit comments