Skip to content

Commit

Permalink
Adding missing functions to Python API
Browse files Browse the repository at this point in the history
  • Loading branch information
tdegeus committed Feb 16, 2022
1 parent eeb4d63 commit 2c55fb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ PYBIND11_MODULE(_cppcolormap, m)

m.doc() = "Library with colormaps";

m.def("version", &cppcolormap::version, DOC("version"));
m.def("version_dependencies", &cppcolormap::version_dependencies, DOC("version_dependencies"));

m.def("Accent", &cppcolormap::Accent, DOC("Accent"), py::arg("N") = 8);
m.def("Dark2", &cppcolormap::Dark2, DOC("Dark2"), py::arg("N") = 8);
m.def("Paired", &cppcolormap::Paired, DOC("Paired"), py::arg("N") = 12);
Expand Down

0 comments on commit 2c55fb4

Please sign in to comment.