Commit 6c4d1428 authored by Paul Asmuth's avatar Paul Asmuth
Browse files

remove redundant 'plot {}' syntax

parent d43ec7e4
Loading
Loading
Loading
Loading
+15 −20
Original line number Diff line number Diff line
@@ -36,10 +36,6 @@ Output File (`example_chart.svg`):

Input File (`example_chart.ptx`):

    width: 1200px;
    height: 480px;

    plot {
    data: csv('tests/testdata/city_temperatures.csv');
    x: month;
    y: temperature;
@@ -56,7 +52,6 @@ Input File (`example_chart.ptx`):
    legend {
      position: top left inside;
    }
    }


For more examples, please see [the examples page](https://plotfx.org/examples).
+9 −11
Original line number Diff line number Diff line
width: 1200px;
height: 480px;

plot {
axis-x-format: datetime("%H:%M:%S");

data: csv('tests/testdata/areadata2.csv', time);
@@ -15,4 +14,3 @@ plot {
  y: y;
  y-offset: z;
}
}
+12 −14
Original line number Diff line number Diff line
width: 1200px;
height: 480px;

plot {
data: csv('tests/testdata/areadata.csv', time);
x: x;
y: y;
@@ -19,4 +18,3 @@ plot {
layer {
  type: points;
}
}
+21 −23
Original line number Diff line number Diff line
width: 1200px;
height: 480px;

plot {
axis-x-format: datetime("%H:%M:%S");

data: csv('tests/testdata/areadata2.csv', time);
@@ -29,4 +28,3 @@ plot {
  y: inline(4,  8,  13, 2,  1,  9);
  color: #000;
}
}
+7 −9
Original line number Diff line number Diff line
width: 1200px;
height: 480px;

plot {
axis-x-format: datetime("%H:%M:%S");

data: csv('tests/testdata/measurement.csv', time);
@@ -13,4 +12,3 @@ plot {
layer {
  type: area;
}
}
Loading