|
9 | 9 | #include <iostream> |
10 | 10 | #include <cstdint> // <cst
8000
dint> requires c++11 support |
11 | 11 | #include <functional> |
12 | | -#include <unordered_map> |
13 | 12 |
|
14 | 13 | #include <Python.h> |
15 | 14 |
|
@@ -793,7 +792,7 @@ template<typename NumericX, typename NumericY> |
793 | 792 | bool scatter(const std::vector<NumericX>& x, |
794 | 793 | const std::vector<NumericY>& y, |
795 | 794 | const double s=1.0, // The marker size in points**2 |
796 | | - const std::unordered_map<std::string, std::string> & keywords = {}) |
| 795 | + const std::map<std::string, std::string> & keywords = {}) |
797 | 796 | { |
798 | 797 | assert(x.size() == y.size()); |
799 | 798 |
|
@@ -823,7 +822,7 @@ bool scatter(const std::vector<NumericX>& x, |
823 | 822 | template<typename Numeric> |
824 | 823 | bool boxplot(const std::vector<std::vector<Numeric>>& data, |
825 | 824 | const std::vector<std::string>& labels = {}, |
826 | | - const std::unordered_map<std::string, std::string> & keywords = {}) |
| 825 | + const std::map<std::string, std::string> & keywords = {}) |
827 | 826 | { |
828 | 827 | PyObject* listlist = detail::get_listlist(data); |
829 | 828 | PyObject* args = PyTuple_New(1); |
@@ -854,7 +853,7 @@ bool boxplot(const std::vector<std::vector<Numeric>>& data, |
854 | 853 |
|
855 | 854 | template<typename Numeric> |
856 | 855 | bool boxplot(const std::vector<Numeric>& data, |
857 | | - const std::unordered_map<std::string, std::string> & keywords = {}) |
| 856 | + const std::map<std::string, std::string> & keywords = {}) |
858 | 857 | { |
859 | 858 | PyObject* vector = detail::get_array(data); |
860 | 859 | PyObject* args = PyTuple_New(1); |
|
0 commit comments