Skip to content

Commit 2c55fb4

Browse files
committed
Adding missing functions to Python API
1 parent eeb4d63 commit 2c55fb4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ PYBIND11_MODULE(_cppcolormap, m)
2828

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

31+
m.def("version", &cppcolormap::version, DOC("version"));
32+
m.def("version_dependencies", &cppcolormap::version_dependencies, DOC("version_dependencies"));
33+
3134
m.def("Accent", &cppcolormap::Accent, DOC("Accent"), py::arg("N") = 8);
3235
m.def("Dark2", &cppcolormap::Dark2, DOC("Dark2"), py::arg("N") = 8);
3336
m.def("Paired", &cppcolormap::Paired, DOC("Paired"), py::arg("N") = 12);

0 commit comments

Comments
 (0)