blob: 95f7192ea46dd13c2f9b3a18ef0e12c1fc041962 [file] [log] [blame]
Austin Schuh85fc6f12018-01-23 21:59:43 -08001licenses(["notice"])
2
3cc_library(
4 name = "matplotlib-cpp",
5 hdrs = [
Austin Schuhdde64052019-12-11 20:28:00 -08006 "matplotlibcpp.h",
Austin Schuh85fc6f12018-01-23 21:59:43 -08007 ],
Austin Schuhc4a833d2020-07-03 18:14:58 -07008 data = [
9 "@matplotlib_repo//:matplotlib3",
10 "@python_repo//:all_files",
11 ],
Austin Schuhdde64052019-12-11 20:28:00 -080012 restricted_to = ["//tools:k8"],
13 visibility = ["//visibility:public"],
Austin Schuh85fc6f12018-01-23 21:59:43 -080014 deps = [
Austin Schuhc4a833d2020-07-03 18:14:58 -070015 "@python_repo//:python3.5_lib",
Austin Schuh85fc6f12018-01-23 21:59:43 -080016 ],
Austin Schuh85fc6f12018-01-23 21:59:43 -080017)
18
19cc_binary(
20 name = "basic_example",
21 srcs = [
22 "examples/basic.cpp",
23 ],
Austin Schuhdde64052019-12-11 20:28:00 -080024 restricted_to = ["//tools:k8"],
Austin Schuh85fc6f12018-01-23 21:59:43 -080025 deps = [
26 "matplotlib-cpp",
27 ],
Austin Schuh85fc6f12018-01-23 21:59:43 -080028)
29
30cc_binary(
31 name = "animation_example",
32 srcs = [
33 "examples/animation.cpp",
34 ],
Austin Schuhdde64052019-12-11 20:28:00 -080035 restricted_to = ["//tools:k8"],
Austin Schuh85fc6f12018-01-23 21:59:43 -080036 deps = [
37 "matplotlib-cpp",
38 ],
Austin Schuh85fc6f12018-01-23 21:59:43 -080039)