Turi Create  4.0
show.hpp
1 /* Copyright © 2017 Apple Inc. All rights reserved.
2  *
3  * Use of this source code is governed by a BSD-3-clause license that can
4  * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
5  */
6 #ifndef __SHOW_HPP
7 #define __SHOW_HPP
8 
9 #include <core/data/sframe/gl_sarray.hpp>
10 #include <model_server/lib/toolkit_function_specification.hpp>
11 #include <visualization/server/plot.hpp>
12 
13 namespace turi {
14  namespace visualization {
15 
16  std::vector<toolkit_function_specification>
17  get_toolkit_function_registration();
18 
19  std::shared_ptr<Plot> plot(
20  const gl_sarray& x,
21  const gl_sarray& y,
22  const std::string& xlabel,
23  const std::string& ylabel,
24  const std::string& title);
25 
26  }
27 }
28 
29 #endif