using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MatplotlibCS;
using MatplotlibCS.PlotItems;
namespace Examples.Plot2D
{
class ExampleVisibility : IExample
{
///
/// Chart of sin
///
public void Run(string pythonExePath, string dasPlotPyPath)
{
// init engine with right paths
var matplotlibCs = new MatplotlibCS.MatplotlibCS(pythonExePath, dasPlotPyPath);
var figure = new Figure(1, 1)
{
FileName = "ExampleVisibility1.png",
OnlySaveImage = true,
DPI = 150,
Subplots =
{
new Axes(1, "The X axis", "The Y axis")
{
Title = "Visibility",
PlotItems =
{
new Line2D("Line 1")
{
X = new List