Skip to content
Snippets Groups Projects
Unverified Commit 62ee0d3e authored by Mamoru Sobue's avatar Mamoru Sobue Committed by GitHub
Browse files

Merge pull request #19 from soblin/develop

Develop
parents dc423d44 c2dd7040
Branches
No related tags found
No related merge requests found
Showing
with 1 addition and 116 deletions
// example from
// https://matplotlib.org/stable/gallery/animation/animate_decay.html
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <matplotlibcpp17/pyplot.h>
#include <matplotlibcpp17/animation.h>
#include <vector>
#include <algorithm>
#include <string>
namespace py = pybind11;
using namespace py::literals;
using namespace std;
using namespace matplotlibcpp17;
using matplotlibcpp17::animation::ArtistAnimation;
......
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <matplotlibcpp17/pyplot.h>
#include <vector>
#include <algorithm>
#include <string>
namespace py = pybind11;
using namespace py::literals;
using namespace std;
using namespace matplotlibcpp17;
......
// example from https://matplotlib.org/stable/gallery/animation/random_walk.html
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <matplotlibcpp17/pyplot.h>
#include <matplotlibcpp17/animation.h>
......@@ -12,8 +9,6 @@
#include <vector>
namespace py = pybind11;
using namespace py::literals;
using namespace std;
using namespace matplotlibcpp17;
using matplotlibcpp17::animation::ArtistAnimation;
......
// example from
// https://matplotlib.org/stable/gallery/images_contours_and_fields/quiver_demo.html
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <matplotlibcpp17/pyplot.h>
#include <matplotlibcpp17/quiver.h>
......@@ -13,8 +10,6 @@
#include <vector>
#include <string>
namespace py = pybind11;
using namespace py::literals;
using namespace std;
using namespace matplotlibcpp17;
......
// example from
// https://matplotlib.org/stable/gallery/lines_bars_and_markers/bar_label_demo.html
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <matplotlibcpp17/pyplot.h>
#include <algorithm>
#include <vector>
#include <iomanip>
#include <iostream>
namespace py = pybind11;
using namespace py::literals;
using namespace std;
using namespace matplotlibcpp17;
int main1() {
......
// example
// https://matplotlib.org/stable/gallery/lines_bars_and_markers/errorbar_limits_simple.html
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <matplotlibcpp17/pyplot.h>
#include <xtensor/xbuilder.hpp>
......@@ -11,8 +8,6 @@
#include <vector>
namespace py = pybind11;
using namespace py::literals;
using namespace std;
using namespace matplotlibcpp17;
......
// example from
// https://matplotlib.org/stable/gallery/lines_bars_and_markers/errorbar_subsample.html
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <matplotlibcpp17/pyplot.h>
#include <xtensor/xbuilder.hpp>
......@@ -11,8 +8,6 @@
#include <vector>
namespace py = pybind11;
using namespace py::literals;
using namespace std;
using namespace matplotlibcpp17;
......
// example from
// https://matplotlib.org/stable/gallery/lines_bars_and_markers/fill.html
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <matplotlibcpp17/pyplot.h>
#include <xtensor/xarray.hpp>
#include <vector>
namespace py = pybind11;
using namespace py::literals;
using namespace std;
using namespace matplotlibcpp17;
......
// example from
// https://matplotlib.org/stable/gallery/lines_bars_and_markers/fill_between_demo.html
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <matplotlibcpp17/pyplot.h>
#include <xtensor/xbuilder.hpp>
......@@ -11,12 +8,8 @@
#include <xtensor/xio.hpp>
#include <vector>
#include <iostream>
#include <iterator>
#include <algorithm>
namespace py = pybind11;
using namespace py::literals;
using namespace std;
using namespace matplotlibcpp17;
......
// example from
// https://matplotlib.org/stable/gallery/lines_bars_and_markers/fill_betweenx_demo.html
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <matplotlibcpp17/pyplot.h>
#include <xtensor/xbuilder.hpp>
......@@ -11,8 +8,6 @@
#include <vector>
namespace py = pybind11;
using namespace py::literals;
using namespace std;
using namespace matplotlibcpp17;
......
// example from
// https://matplotlib.org/stable/gallery/lines_bars_and_markers/scatter_hist.html
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <matplotlibcpp17/pyplot.h>
#include <xtensor/xrandom.hpp>
......@@ -12,8 +9,6 @@
#include <vector>
#include <algorithm>
namespace py = pybind11;
using namespace py::literals;
using namespace std;
using namespace matplotlibcpp17;
......
// example from
// https://matplotlib.org/stable/gallery/lines_bars_and_markers/scatter_symbol.html
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <matplotlibcpp17/pyplot.h>
#include <algorithm>
#include <vector>
#include <string>
namespace py = pybind11;
using namespace py::literals;
template <typename T> std::vector<T> arange(T start, T end, T h) {
int N = static_cast<int>((end - start) / h);
std::vector<T> xs(N);
......
// example from
// https://matplotlib.org/stable/gallery/lines_bars_and_markers/scatter_with_legend.html
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <matplotlibcpp17/pyplot.h>
#include <xtensor/xrandom.hpp>
......@@ -11,8 +8,6 @@
#include <vector>
namespace py = pybind11;
using namespace py::literals;
using namespace std;
using namespace matplotlibcpp17;
......
// example from
// https://matplotlib.org/stable/gallery/lines_bars_and_markers/simple_plot.html
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <matplotlibcpp17/pyplot.h>
#include <xtensor/xbuilder.hpp>
......@@ -11,8 +8,6 @@
#include <vector>
namespace py = pybind11;
using namespace py::literals;
using namespace std;
using namespace matplotlibcpp17;
......
// example https://matplotlib.org/stable/gallery/mplot3d/contour3d.html
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <matplotlibcpp17/pyplot.h>
#include <xtensor/xbuilder.hpp>
#include <xtensor/xmath.hpp>
#include <xtensor/xio.hpp>
#include <xtensor/xadapt.hpp>
#include <vector>
namespace py = pybind11;
using namespace py::literals;
using namespace std;
using namespace matplotlibcpp17;
......
// example from https://matplotlib.org/stable/gallery/mplot3d/errorbar3d.html
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <matplotlibcpp17/pyplot.h>
#include <xtensor/xbuilder.hpp>
......@@ -11,8 +8,6 @@
#include <vector>
#include <algorithm>
namespace py = pybind11;
using namespace py::literals;
using namespace std;
using namespace matplotlibcpp17;
......
// example from https://matplotlib.org/stable/gallery/mplot3d/lines3d.html
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <matplotlibcpp17/pyplot.h>
#include <xtensor/xbuilder.hpp>
......@@ -10,8 +7,6 @@
#include <vector>
namespace py = pybind11;
using namespace py::literals;
using namespace std;
using namespace matplotlibcpp17;
......
// example from
// https://matplotlib.org/stable/gallery/mplot3d/lorenz_attractor.html
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <matplotlibcpp17/pyplot.h>
#include <algorithm>
#include <vector>
#include <tuple>
namespace py = pybind11;
using namespace py::literals;
using namespace std;
using namespace matplotlibcpp17;
......
// example https://matplotlib.org/stable/gallery/mplot3d/subplot3d.html
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <pybind11/numpy.h>
#include <matplotlibcpp17/pyplot.h>
#include <matplotlibcpp17/cm.h>
......@@ -12,8 +8,6 @@
#include <vector>
namespace py = pybind11;
using namespace py::literals;
using namespace std;
using namespace matplotlibcpp17;
......
// example from https://matplotlib.org/stable/gallery/mplot3d/surface3d.html
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <pybind11/numpy.h>
#include <matplotlibcpp17/pyplot.h>
#include <matplotlibcpp17/cm.h>
......@@ -12,8 +8,6 @@
#include <vector>
namespace py = pybind11;
using namespace py::literals;
using namespace std;
using namespace matplotlibcpp17;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment