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.
Files changed (51) hide show
  1. {icplot-0.2.0/src/icplot.egg-info → icplot-0.2.2}/PKG-INFO +2 -2
  2. {icplot-0.2.0 → icplot-0.2.2}/pyproject.toml +2 -2
  3. {icplot-0.2.0 → icplot-0.2.2/src/icplot.egg-info}/PKG-INFO +2 -2
  4. {icplot-0.2.0 → icplot-0.2.2}/src/icplot.egg-info/SOURCES.txt +1 -0
  5. {icplot-0.2.0 → icplot-0.2.2}/src/icplot.egg-info/requires.txt +1 -1
  6. icplot-0.2.2/test/test_plot_group.py +35 -0
  7. {icplot-0.2.0 → icplot-0.2.2}/LICENSE +0 -0
  8. {icplot-0.2.0 → icplot-0.2.2}/README.md +0 -0
  9. {icplot-0.2.0 → icplot-0.2.2}/setup.cfg +0 -0
  10. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/__init__.py +0 -0
  11. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/cairo_interface.py +0 -0
  12. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/color.py +0 -0
  13. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/convert.py +0 -0
  14. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/gantt/__init__.py +0 -0
  15. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/gantt/gantt.py +0 -0
  16. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/gantt/gantt_renderer.py +0 -0
  17. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/gantt/pgfgantt.py +0 -0
  18. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/geometry.py +0 -0
  19. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/__init__.py +0 -0
  20. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/axis.py +0 -0
  21. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/generator.py +0 -0
  22. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/matplotlib.py +0 -0
  23. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/mpl.py +0 -0
  24. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/plot.py +0 -0
  25. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/plot_group.py +0 -0
  26. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/series.py +0 -0
  27. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/video.py +0 -0
  28. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/graph/vtk.py +0 -0
  29. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/image_utils.py +0 -0
  30. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/main_cli.py +0 -0
  31. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/mermaid.py +0 -0
  32. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/mesh/__init__.py +0 -0
  33. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/mesh/foam.py +0 -0
  34. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/mesh/mesh.py +0 -0
  35. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/mesh/vtk.py +0 -0
  36. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/py.typed +0 -0
  37. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/scene.py +0 -0
  38. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/tex.py +0 -0
  39. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/trace/__init__.py +0 -0
  40. {icplot-0.2.0 → icplot-0.2.2}/src/icplot/trace/trace.py +0 -0
  41. {icplot-0.2.0 → icplot-0.2.2}/src/icplot.egg-info/dependency_links.txt +0 -0
  42. {icplot-0.2.0 → icplot-0.2.2}/src/icplot.egg-info/entry_points.txt +0 -0
  43. {icplot-0.2.0 → icplot-0.2.2}/src/icplot.egg-info/top_level.txt +0 -0
  44. {icplot-0.2.0 → icplot-0.2.2}/test/test_cairo_interface.py +0 -0
  45. {icplot-0.2.0 → icplot-0.2.2}/test/test_gantt_chart.py +0 -0
  46. {icplot-0.2.0 → icplot-0.2.2}/test/test_geometry.py +0 -0
  47. {icplot-0.2.0 → icplot-0.2.2}/test/test_image_utils.py +0 -0
  48. {icplot-0.2.0 → icplot-0.2.2}/test/test_line_plots.py +0 -0
  49. {icplot-0.2.0 → icplot-0.2.2}/test/test_mermaid.py +0 -0
  50. {icplot-0.2.0 → icplot-0.2.2}/test/test_mesh.py +0 -0
  51. {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.0
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.0
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.0"
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.0"]
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.0
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.0
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"
@@ -46,4 +46,5 @@ test/test_image_utils.py
46
46
  test/test_line_plots.py
47
47
  test/test_mermaid.py
48
48
  test/test_mesh.py
49
+ test/test_plot_group.py
49
50
  test/test_tex.py
@@ -3,7 +3,7 @@ matplotlib
3
3
  vtk
4
4
  moviepy
5
5
  scipy
6
- iccore==0.2.0
6
+ iccore==0.2.2
7
7
 
8
8
  [cairo]
9
9
  pycairo
@@ -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