icplot 0.2.0__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {icplot-0.2.0/src/icplot.egg-info → icplot-0.2.2}/PKG-INFO +2 -2
- {icplot-0.2.0 → icplot-0.2.2}/pyproject.toml +2 -2
- {icplot-0.2.0 → icplot-0.2.2/src/icplot.egg-info}/PKG-INFO +2 -2
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot.egg-info/SOURCES.txt +1 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot.egg-info/requires.txt +1 -1
- icplot-0.2.2/test/test_plot_group.py +35 -0
- {icplot-0.2.0 → icplot-0.2.2}/LICENSE +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/README.md +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/setup.cfg +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/__init__.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/cairo_interface.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/color.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/convert.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/gantt/__init__.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/gantt/gantt.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/gantt/gantt_renderer.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/gantt/pgfgantt.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/geometry.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/__init__.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/axis.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/generator.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/matplotlib.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/mpl.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/plot.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/plot_group.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/series.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/video.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/vtk.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/image_utils.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/main_cli.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/mermaid.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/mesh/__init__.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/mesh/foam.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/mesh/mesh.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/mesh/vtk.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/py.typed +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/scene.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/tex.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/trace/__init__.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot/trace/trace.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot.egg-info/dependency_links.txt +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot.egg-info/entry_points.txt +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/src/icplot.egg-info/top_level.txt +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/test/test_cairo_interface.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/test/test_gantt_chart.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/test/test_geometry.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/test/test_image_utils.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/test/test_line_plots.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/test/test_mermaid.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/test/test_mesh.py +0 -0
- {icplot-0.2.0 → icplot-0.2.2}/test/test_tex.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: icplot
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Utilities for generating plots and graphics for technical reports.
|
|
5
5
|
Author-email: "James Grogan, Irish Centre for High End Computing" <james.grogan@ichec.ie>
|
|
6
6
|
Project-URL: Repository, https://git.ichec.ie/performance/toolshed/icplot
|
|
@@ -19,7 +19,7 @@ Requires-Dist: matplotlib
|
|
|
19
19
|
Requires-Dist: vtk
|
|
20
20
|
Requires-Dist: moviepy
|
|
21
21
|
Requires-Dist: scipy
|
|
22
|
-
Requires-Dist: iccore==0.2.
|
|
22
|
+
Requires-Dist: iccore==0.2.2
|
|
23
23
|
Provides-Extra: test
|
|
24
24
|
Requires-Dist: pytest; extra == "test"
|
|
25
25
|
Requires-Dist: pytest-cov; extra == "test"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "icplot"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.2"
|
|
4
4
|
authors = [
|
|
5
5
|
{ name="James Grogan, Irish Centre for High End Computing", email="james.grogan@ichec.ie" },
|
|
6
6
|
]
|
|
@@ -21,7 +21,7 @@ dependencies = ["wand",
|
|
|
21
21
|
"vtk",
|
|
22
22
|
"moviepy",
|
|
23
23
|
"scipy",
|
|
24
|
-
"iccore==0.2.
|
|
24
|
+
"iccore==0.2.2"]
|
|
25
25
|
|
|
26
26
|
[project.urls]
|
|
27
27
|
Repository = "https://git.ichec.ie/performance/toolshed/icplot"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: icplot
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Utilities for generating plots and graphics for technical reports.
|
|
5
5
|
Author-email: "James Grogan, Irish Centre for High End Computing" <james.grogan@ichec.ie>
|
|
6
6
|
Project-URL: Repository, https://git.ichec.ie/performance/toolshed/icplot
|
|
@@ -19,7 +19,7 @@ Requires-Dist: matplotlib
|
|
|
19
19
|
Requires-Dist: vtk
|
|
20
20
|
Requires-Dist: moviepy
|
|
21
21
|
Requires-Dist: scipy
|
|
22
|
-
Requires-Dist: iccore==0.2.
|
|
22
|
+
Requires-Dist: iccore==0.2.2
|
|
23
23
|
Provides-Extra: test
|
|
24
24
|
Requires-Dist: pytest; extra == "test"
|
|
25
25
|
Requires-Dist: pytest-cov; extra == "test"
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
from datetime import datetime, timedelta
|
|
2
|
+
from icplot.graph.plot_group import (
|
|
3
|
+
PlotGroupPublic,
|
|
4
|
+
VideoConfig,
|
|
5
|
+
ContourConfig,
|
|
6
|
+
LineConfig,
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def test_plot_group():
|
|
11
|
+
now = datetime.utcnow()
|
|
12
|
+
later = now + timedelta(hours=1)
|
|
13
|
+
|
|
14
|
+
video = VideoConfig(fps=10, format="avi", active=False)
|
|
15
|
+
contour = ContourConfig(show_grid=False, colormap="viridis", format="svg")
|
|
16
|
+
line = LineConfig(format="pdf")
|
|
17
|
+
|
|
18
|
+
group = PlotGroupPublic(
|
|
19
|
+
start_datetime=now,
|
|
20
|
+
end_datetime=later,
|
|
21
|
+
video=video,
|
|
22
|
+
contour=contour,
|
|
23
|
+
line=line,
|
|
24
|
+
formats=("mpl", "svg"),
|
|
25
|
+
active=True,
|
|
26
|
+
series=[],
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
assert group.has_date_range
|
|
30
|
+
assert group.date_range == (now, later)
|
|
31
|
+
assert group.video == video
|
|
32
|
+
assert group.contour == contour
|
|
33
|
+
assert group.line == line
|
|
34
|
+
assert group.formats == ("mpl", "svg")
|
|
35
|
+
assert group.active
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|