babelplot 2025.14__tar.gz → 2026.1__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 (63) hide show
  1. {babelplot-2025.14 → babelplot-2026.1}/MANIFEST.in +1 -1
  2. {babelplot-2025.14 → babelplot-2026.1}/PKG-INFO +29 -62
  3. {babelplot-2025.14 → babelplot-2026.1}/README-COPYRIGHT-utf8.txt +1 -15
  4. babelplot-2026.1/README-template.rst +93 -0
  5. {babelplot-2025.14 → babelplot-2026.1}/README.rst +23 -59
  6. babelplot-2026.1/documentation/wiki/description.asciidoc +32 -0
  7. babelplot-2026.1/package/babelplot/__init__.py +27 -0
  8. babelplot-2026.1/package/babelplot/api/type.py +9 -0
  9. {babelplot-2025.14 → babelplot-2026.1}/package/babelplot/backend/catalog/bokeh_.py +14 -68
  10. {babelplot-2025.14 → babelplot-2026.1}/package/babelplot/backend/catalog/matplotlib_.py +20 -88
  11. {babelplot-2025.14 → babelplot-2026.1}/package/babelplot/backend/catalog/plotly_.py +21 -92
  12. {babelplot-2025.14 → babelplot-2026.1}/package/babelplot/backend/catalog/vedo_.py +14 -72
  13. babelplot-2026.1/package/babelplot/backend/helper/creation.py +93 -0
  14. {babelplot-2025.14 → babelplot-2026.1}/package/babelplot/backend/helper/validation.py +6 -53
  15. babelplot-2026.1/package/babelplot/constant/backend.py +9 -0
  16. babelplot-2026.1/package/babelplot/constant/path.py +8 -0
  17. babelplot-2026.1/package/babelplot/constant/project.py +7 -0
  18. babelplot-2026.1/package/babelplot/extension/enum_.py +27 -0
  19. babelplot-2026.1/package/babelplot/runtime/backends.py +9 -0
  20. {babelplot-2025.14 → babelplot-2026.1}/package/babelplot/task/help.py +6 -57
  21. babelplot-2026.1/package/babelplot/task/instantiation.py +73 -0
  22. babelplot-2026.1/package/babelplot/task/plotting.py +38 -0
  23. {babelplot-2025.14 → babelplot-2026.1}/package/babelplot/task/showing.py +6 -52
  24. {babelplot-2025.14 → babelplot-2026.1}/package/babelplot/type/backend.py +14 -74
  25. babelplot-2026.1/package/babelplot/type/dimension.py +56 -0
  26. {babelplot-2025.14 → babelplot-2026.1}/package/babelplot/type/ffp_base.py +6 -52
  27. {babelplot-2025.14 → babelplot-2026.1}/package/babelplot/type/figure.py +13 -76
  28. babelplot-2026.1/package/babelplot/type/frame.py +82 -0
  29. babelplot-2026.1/package/babelplot/type/plot.py +38 -0
  30. babelplot-2026.1/package/babelplot/type/plot_function.py +15 -0
  31. {babelplot-2025.14 → babelplot-2026.1}/package/babelplot/type/plot_type.py +4 -50
  32. babelplot-2026.1/package/babelplot/type/translator.py +24 -0
  33. babelplot-2026.1/package/babelplot/version.py +1 -0
  34. {babelplot-2025.14 → babelplot-2026.1}/package/babelplot.egg-info/PKG-INFO +29 -62
  35. {babelplot-2025.14 → babelplot-2026.1}/package/babelplot.egg-info/SOURCES.txt +1 -2
  36. babelplot-2026.1/package/babelplot.egg-info/requires.txt +7 -0
  37. {babelplot-2025.14 → babelplot-2026.1}/pyproject.toml +1 -0
  38. babelplot-2026.1/setup.py +14 -0
  39. babelplot-2025.14/documentation/wiki/description.asciidoc +0 -74
  40. babelplot-2025.14/package/babelplot/__init__.py +0 -70
  41. babelplot-2025.14/package/babelplot/api/type.py +0 -55
  42. babelplot-2025.14/package/babelplot/backend/helper/creation.py +0 -140
  43. babelplot-2025.14/package/babelplot/constant/backend.py +0 -58
  44. babelplot-2025.14/package/babelplot/constant/path.py +0 -54
  45. babelplot-2025.14/package/babelplot/constant/project.py +0 -53
  46. babelplot-2025.14/package/babelplot/extension/enum_.py +0 -69
  47. babelplot-2025.14/package/babelplot/extension/function.py +0 -95
  48. babelplot-2025.14/package/babelplot/runtime/backends.py +0 -55
  49. babelplot-2025.14/package/babelplot/task/instantiation.py +0 -139
  50. babelplot-2025.14/package/babelplot/task/plotting.py +0 -84
  51. babelplot-2025.14/package/babelplot/type/dimension.py +0 -103
  52. babelplot-2025.14/package/babelplot/type/frame.py +0 -133
  53. babelplot-2025.14/package/babelplot/type/plot.py +0 -85
  54. babelplot-2025.14/package/babelplot/type/plot_function.py +0 -62
  55. babelplot-2025.14/package/babelplot/type/translator.py +0 -70
  56. babelplot-2025.14/package/babelplot/version.py +0 -53
  57. babelplot-2025.14/package/babelplot.egg-info/requires.txt +0 -3
  58. babelplot-2025.14/requirements.txt +0 -3
  59. babelplot-2025.14/setup.py +0 -155
  60. {babelplot-2025.14 → babelplot-2026.1}/README-LICENCE-utf8.txt +0 -0
  61. {babelplot-2025.14 → babelplot-2026.1}/package/babelplot.egg-info/dependency_links.txt +0 -0
  62. {babelplot-2025.14 → babelplot-2026.1}/package/babelplot.egg-info/top_level.txt +0 -0
  63. {babelplot-2025.14 → babelplot-2026.1}/setup.cfg +0 -0
@@ -1,4 +1,4 @@
1
+ include README-template.rst
1
2
  include README-COPYRIGHT-utf8.txt
2
3
  include README-LICENCE-utf8.txt
3
- include requirements.txt
4
4
  include documentation/wiki/description.asciidoc
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: babelplot
3
- Version: 2025.14
3
+ Version: 2026.1
4
4
  Summary: A Meta Plotting Library That Speaks Several Backends
5
5
  Home-page: https://src.koda.cnrs.fr/eric.debreuve/babelplot/
6
6
  Author: Eric Debreuve
@@ -11,12 +11,15 @@ Project-URL: Source, https://src.koda.cnrs.fr/eric.debreuve/babelplot/
11
11
  Keywords: plot,library
12
12
  Classifier: Topic :: Scientific/Engineering :: Visualization
13
13
  Classifier: Intended Audience :: Science/Research
14
- Classifier: License :: OSI Approved :: CEA CNRS Inria Logiciel Libre License, version 2.1 (CeCILL-2.1)
15
14
  Classifier: Programming Language :: Python :: 3
16
15
  Classifier: Development Status :: 3 - Alpha
17
16
  Requires-Python: >=3.11
18
17
  Description-Content-Type: text/x-rst
19
- Requires-Dist: color_spec_changer
18
+ Requires-Dist: PyQt6
19
+ Requires-Dist: PyQt6-WebEngine
20
+ Requires-Dist: color-spec-changer
21
+ Requires-Dist: extension-36
22
+ Requires-Dist: ft-logger
20
23
  Requires-Dist: numpy
21
24
  Requires-Dist: scikit-image
22
25
  Dynamic: author
@@ -33,9 +36,8 @@ Dynamic: requires-python
33
36
  Dynamic: summary
34
37
 
35
38
  ..
36
- Copyright CNRS/Inria/UniCA
37
- Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2022
38
- SEE COPYRIGHT NOTICE BELOW
39
+ SEE COPYRIGHT and LICENCE NOTICES: files README-COPYRIGHT-utf8.txt and
40
+ README-LICENCE-utf8.txt at project source root.
39
41
 
40
42
  .. |PROJECT_NAME| replace:: BabelPlot
41
43
  .. |SHORT_DESCRIPTION| replace:: A Meta Plotting Library That Speaks Several Backends
@@ -47,8 +49,8 @@ Dynamic: summary
47
49
  .. |DOCUMENTATION_URL| replace:: https://src.koda.cnrs.fr/eric.debreuve/babelplot/-/wikis/home
48
50
  .. _DOCUMENTATION_URL: https://src.koda.cnrs.fr/eric.debreuve/babelplot/-/wikis/home
49
51
 
50
- .. |DEPENDENCIES_MANDATORY| replace:: color_spec_changer, numpy, scikit-image
51
- .. |DEPENDENCIES_OPTIONAL| replace:: bokeh, matplotlib, plotly, vedo
52
+ .. |DEPENDENCIES_MANDATORY| replace:: color-spec-changer, extension-36, ft-logger, numpy, scikit-image, PyQt6, PyQt6-WebEngine
53
+ .. |DEPENDENCIES_OPTIONAL| replace:: bokeh, gr, matplotlib, plotly, vedo
52
54
 
53
55
 
54
56
 
@@ -82,11 +84,6 @@ Otherwise, it can be installed from a command console using `pip <https://pip.py
82
84
  | Update | ``pip install --upgrade`` |PYPI_NAME_LITERAL| | ``pip install --user --upgrade`` |PYPI_NAME_LITERAL| |
83
85
  +--------------+-------------------------------------------------------+----------------------------------------------------------+
84
86
 
85
- Prior to using ``BabelPlot``, a (backend) plotting library must be installed (one of the optional dependencies below).
86
- If in doubt, `Matplotlib <https://matplotlib.org>`_ should be installed.
87
-
88
- .. note:: The `BabelPlot` project is currently in alpha stage: API and runtime stabilities are both unreliable.
89
-
90
87
 
91
88
 
92
89
  Dependencies
@@ -103,61 +100,31 @@ The optional dependencies, if any, must be installed independently by following
103
100
 
104
101
 
105
102
 
103
+ Packaging
104
+ =========
105
+
106
+ Missing files for packaging the project from source
107
+ (notably, ``documentation/wiki/description.asciidoc``, ``README-template.rst``, ``pyproject.toml``, and ``setup.py``)
108
+ can be found
109
+ on the `Python package template <https://src.koda.cnrs.fr/eric.debreuve/python-package-template>`_ repository
110
+ and as part of the `documentation wiki <https://src.koda.cnrs.fr/eric.debreuve/babelplot/-/wikis/home/../description.asciidoc>`_.
111
+
112
+
113
+
106
114
  Acknowledgments
107
115
  ===============
108
116
 
109
117
  .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
110
- :target: https://github.com/psf/black
118
+ :target: https://github.com/psf/black
111
119
  .. image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
112
- :target: https://pycqa.github.io/isort/
120
+ :target: https://github.com/timothycrosley/isort/
121
+ .. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
122
+ :target: https://github.com/astral-sh/ruff
113
123
 
114
124
  The project is developed with `PyCharm Community <https://www.jetbrains.com/pycharm/>`_.
115
125
 
116
- The code is formatted by `Black <https://github.com/psf/black/>`_, *The Uncompromising Code Formatter*.
126
+ The code is formatted by `Black <https://github.com/psf/black/>`_, *The Uncompromising Code Formatter*,
127
+ or `Ruff <https://github.com/astral-sh/ruff>`_, *An extremely fast Python linter and code formatter, written in Rust*.
117
128
 
118
- The imports are ordered by `isort <https://github.com/timothycrosley/isort/>`_... *your imports, so you don't have to*.
119
-
120
- ..
121
- COPYRIGHT NOTICE
122
-
123
- This software is governed by the CeCILL license under French law and
124
- abiding by the rules of distribution of free software. You can use,
125
- modify and/ or redistribute the software under the terms of the CeCILL
126
- license as circulated by CEA, CNRS and INRIA at the following URL
127
- "http://www.cecill.info".
128
-
129
- As a counterpart to the access to the source code and rights to copy,
130
- modify and redistribute granted by the license, users are provided only
131
- with a limited warranty and the software's author, the holder of the
132
- economic rights, and the successive licensors have only limited
133
- liability.
134
-
135
- In this respect, the user's attention is drawn to the risks associated
136
- with loading, using, modifying and/or developing or reproducing the
137
- software by the user in light of its specific status of free software,
138
- that may mean that it is complicated to manipulate, and that also
139
- therefore means that it is reserved for developers and experienced
140
- professionals having in-depth computer knowledge. Users are therefore
141
- encouraged to load and test the software's suitability as regards their
142
- requirements in conditions enabling the security of their systems and/or
143
- data to be ensured and, more generally, to use and operate it in the
144
- same conditions as regards security.
145
-
146
- The fact that you are presently reading this means that you have had
147
- knowledge of the CeCILL license and that you accept its terms.
148
-
149
- SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
150
-
151
- This software is being developed by Eric Debreuve, a CNRS employee and
152
- member of team Morpheme.
153
- Team Morpheme is a joint team between Inria, CNRS, and UniCA.
154
- It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
155
- I3S, and Laboratory iBV.
156
-
157
- CNRS: https://www.cnrs.fr/index.php/en
158
- Inria: https://www.inria.fr/en/
159
- UniCA: https://univ-cotedazur.eu/
160
- Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
161
- I3S: https://www.i3s.unice.fr/en/
162
- iBV: http://ibv.unice.fr/
163
- Team Morpheme: https://team.inria.fr/morpheme/
129
+ The imports are ordered by `isort <https://github.com/timothycrosley/isort/>`_... *your imports, so you don't have to*,
130
+ or `Ruff <https://github.com/astral-sh/ruff>`_, *An extremely fast Python linter and code formatter, written in Rust*.
@@ -1,4 +1,4 @@
1
- Copyright CNRS/Inria/UniCA
1
+ Copyright (c) CNRS (https://www.cnrs.fr/index.php/en)
2
2
  Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2022
3
3
 
4
4
  This software is governed by the CeCILL license under French law and
@@ -28,17 +28,3 @@ The fact that you are presently reading this means that you have had
28
28
  knowledge of the CeCILL license and that you accept its terms.
29
29
 
30
30
  SEE LICENCE NOTICE: README-LICENCE-utf8.txt
31
-
32
- This software is being developed by Eric Debreuve, a CNRS employee and
33
- member of team Morpheme.
34
- Team Morpheme is a joint team between Inria, CNRS, and UniCA.
35
- It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
36
- I3S, and Laboratory iBV.
37
-
38
- CNRS: https://www.cnrs.fr/index.php/en
39
- Inria: https://www.inria.fr/en/
40
- UniCA: https://univ-cotedazur.eu/
41
- Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
42
- I3S: https://www.i3s.unice.fr/en/
43
- iBV: http://ibv.unice.fr/
44
- Team Morpheme: https://team.inria.fr/morpheme/
@@ -0,0 +1,93 @@
1
+ ..
2
+ SEE COPYRIGHT and LICENCE NOTICES: files README-COPYRIGHT-utf8.txt and
3
+ README-LICENCE-utf8.txt at project source root.
4
+
5
+ .. |PROJECT_NAME| replace:: ??MISSING_PROJECT_NAME??
6
+ .. |SHORT_DESCRIPTION| replace:: ??MISSING_SHORT_DESCRIPTION??
7
+
8
+ .. |PYPI_NAME_LITERAL| replace:: ``??MISSING_PYPI_NAME??``
9
+ .. |PYPI_PROJECT_URL| replace:: https://pypi.org/project/??MISSING_PYPI_NAME??/
10
+ .. _PYPI_PROJECT_URL: https://pypi.org/project/??MISSING_PYPI_NAME??/
11
+
12
+ .. |DOCUMENTATION_URL| replace:: ??MISSING_DOCUMENTATION_SITE??
13
+ .. _DOCUMENTATION_URL: ??MISSING_DOCUMENTATION_SITE??
14
+
15
+ .. |DEPENDENCIES_MANDATORY| replace:: ??MISSING_DEPENDENCIES_MANDATORY??
16
+ .. |DEPENDENCIES_OPTIONAL| replace:: ??MISSING_DEPENDENCIES_OPTIONAL??
17
+
18
+
19
+
20
+ ===================================
21
+ |PROJECT_NAME|: |SHORT_DESCRIPTION|
22
+ ===================================
23
+
24
+
25
+
26
+ Documentation
27
+ =============
28
+
29
+ The documentation is available at |DOCUMENTATION_URL|_.
30
+
31
+
32
+
33
+ Installation
34
+ ============
35
+
36
+ This project is published
37
+ on the `Python Package Index (PyPI) <https://pypi.org/>`_
38
+ at: |PYPI_PROJECT_URL|_.
39
+ It should be installable from Python distribution platforms or Integrated Development Environments (IDEs).
40
+ Otherwise, it can be installed from a command console using `pip <https://pip.pypa.io/>`_:
41
+
42
+ +--------------+-------------------------------------------------------+----------------------------------------------------------+
43
+ | | For all users (after acquiring administrative rights) | For the current user (no administrative rights required) |
44
+ +==============+=======================================================+==========================================================+
45
+ | Installation | ``pip install`` |PYPI_NAME_LITERAL| | ``pip install --user`` |PYPI_NAME_LITERAL| |
46
+ +--------------+-------------------------------------------------------+----------------------------------------------------------+
47
+ | Update | ``pip install --upgrade`` |PYPI_NAME_LITERAL| | ``pip install --user --upgrade`` |PYPI_NAME_LITERAL| |
48
+ +--------------+-------------------------------------------------------+----------------------------------------------------------+
49
+
50
+
51
+
52
+ Dependencies
53
+ ============
54
+
55
+ The development relies on several packages:
56
+
57
+ - Mandatory: |DEPENDENCIES_MANDATORY|
58
+ - Optional: |DEPENDENCIES_OPTIONAL|
59
+
60
+ The mandatory dependencies, if any, are installed automatically by `pip <https://pip.pypa.io/>`_, if they are not already, as part of the installation of |PROJECT_NAME|.
61
+ Python distribution platforms or Integrated Development Environments (IDEs) should also take care of this.
62
+ The optional dependencies, if any, must be installed independently by following the related instructions, for added functionalities of |PROJECT_NAME|.
63
+
64
+
65
+
66
+ Packaging
67
+ =========
68
+
69
+ Missing files for packaging the project from source
70
+ (notably, ``documentation/wiki/description.asciidoc``, ``README-template.rst``, ``pyproject.toml``, and ``setup.py``)
71
+ can be found
72
+ on the `Python package template <https://src.koda.cnrs.fr/eric.debreuve/python-package-template>`_ repository
73
+ and as part of the `documentation wiki <??MISSING_DOCUMENTATION_SITE??/../description.asciidoc>`_.
74
+
75
+
76
+
77
+ Acknowledgments
78
+ ===============
79
+
80
+ .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
81
+ :target: https://github.com/psf/black
82
+ .. image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
83
+ :target: https://github.com/timothycrosley/isort/
84
+ .. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
85
+ :target: https://github.com/astral-sh/ruff
86
+
87
+ The project is developed with `PyCharm Community <https://www.jetbrains.com/pycharm/>`_.
88
+
89
+ The code is formatted by `Black <https://github.com/psf/black/>`_, *The Uncompromising Code Formatter*,
90
+ or `Ruff <https://github.com/astral-sh/ruff>`_, *An extremely fast Python linter and code formatter, written in Rust*.
91
+
92
+ The imports are ordered by `isort <https://github.com/timothycrosley/isort/>`_... *your imports, so you don't have to*,
93
+ or `Ruff <https://github.com/astral-sh/ruff>`_, *An extremely fast Python linter and code formatter, written in Rust*.
@@ -1,7 +1,6 @@
1
1
  ..
2
- Copyright CNRS/Inria/UniCA
3
- Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2022
4
- SEE COPYRIGHT NOTICE BELOW
2
+ SEE COPYRIGHT and LICENCE NOTICES: files README-COPYRIGHT-utf8.txt and
3
+ README-LICENCE-utf8.txt at project source root.
5
4
 
6
5
  .. |PROJECT_NAME| replace:: BabelPlot
7
6
  .. |SHORT_DESCRIPTION| replace:: A Meta Plotting Library That Speaks Several Backends
@@ -13,8 +12,8 @@
13
12
  .. |DOCUMENTATION_URL| replace:: https://src.koda.cnrs.fr/eric.debreuve/babelplot/-/wikis/home
14
13
  .. _DOCUMENTATION_URL: https://src.koda.cnrs.fr/eric.debreuve/babelplot/-/wikis/home
15
14
 
16
- .. |DEPENDENCIES_MANDATORY| replace:: color_spec_changer, numpy, scikit-image
17
- .. |DEPENDENCIES_OPTIONAL| replace:: bokeh, matplotlib, plotly, vedo
15
+ .. |DEPENDENCIES_MANDATORY| replace:: color-spec-changer, extension-36, ft-logger, numpy, scikit-image, PyQt6, PyQt6-WebEngine
16
+ .. |DEPENDENCIES_OPTIONAL| replace:: bokeh, gr, matplotlib, plotly, vedo
18
17
 
19
18
 
20
19
 
@@ -48,11 +47,6 @@ Otherwise, it can be installed from a command console using `pip <https://pip.py
48
47
  | Update | ``pip install --upgrade`` |PYPI_NAME_LITERAL| | ``pip install --user --upgrade`` |PYPI_NAME_LITERAL| |
49
48
  +--------------+-------------------------------------------------------+----------------------------------------------------------+
50
49
 
51
- Prior to using ``BabelPlot``, a (backend) plotting library must be installed (one of the optional dependencies below).
52
- If in doubt, `Matplotlib <https://matplotlib.org>`_ should be installed.
53
-
54
- .. note:: The `BabelPlot` project is currently in alpha stage: API and runtime stabilities are both unreliable.
55
-
56
50
 
57
51
 
58
52
  Dependencies
@@ -69,61 +63,31 @@ The optional dependencies, if any, must be installed independently by following
69
63
 
70
64
 
71
65
 
66
+ Packaging
67
+ =========
68
+
69
+ Missing files for packaging the project from source
70
+ (notably, ``documentation/wiki/description.asciidoc``, ``README-template.rst``, ``pyproject.toml``, and ``setup.py``)
71
+ can be found
72
+ on the `Python package template <https://src.koda.cnrs.fr/eric.debreuve/python-package-template>`_ repository
73
+ and as part of the `documentation wiki <https://src.koda.cnrs.fr/eric.debreuve/babelplot/-/wikis/home/../description.asciidoc>`_.
74
+
75
+
76
+
72
77
  Acknowledgments
73
78
  ===============
74
79
 
75
80
  .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
76
- :target: https://github.com/psf/black
81
+ :target: https://github.com/psf/black
77
82
  .. image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
78
- :target: https://pycqa.github.io/isort/
83
+ :target: https://github.com/timothycrosley/isort/
84
+ .. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
85
+ :target: https://github.com/astral-sh/ruff
79
86
 
80
87
  The project is developed with `PyCharm Community <https://www.jetbrains.com/pycharm/>`_.
81
88
 
82
- The code is formatted by `Black <https://github.com/psf/black/>`_, *The Uncompromising Code Formatter*.
89
+ The code is formatted by `Black <https://github.com/psf/black/>`_, *The Uncompromising Code Formatter*,
90
+ or `Ruff <https://github.com/astral-sh/ruff>`_, *An extremely fast Python linter and code formatter, written in Rust*.
83
91
 
84
- The imports are ordered by `isort <https://github.com/timothycrosley/isort/>`_... *your imports, so you don't have to*.
85
-
86
- ..
87
- COPYRIGHT NOTICE
88
-
89
- This software is governed by the CeCILL license under French law and
90
- abiding by the rules of distribution of free software. You can use,
91
- modify and/ or redistribute the software under the terms of the CeCILL
92
- license as circulated by CEA, CNRS and INRIA at the following URL
93
- "http://www.cecill.info".
94
-
95
- As a counterpart to the access to the source code and rights to copy,
96
- modify and redistribute granted by the license, users are provided only
97
- with a limited warranty and the software's author, the holder of the
98
- economic rights, and the successive licensors have only limited
99
- liability.
100
-
101
- In this respect, the user's attention is drawn to the risks associated
102
- with loading, using, modifying and/or developing or reproducing the
103
- software by the user in light of its specific status of free software,
104
- that may mean that it is complicated to manipulate, and that also
105
- therefore means that it is reserved for developers and experienced
106
- professionals having in-depth computer knowledge. Users are therefore
107
- encouraged to load and test the software's suitability as regards their
108
- requirements in conditions enabling the security of their systems and/or
109
- data to be ensured and, more generally, to use and operate it in the
110
- same conditions as regards security.
111
-
112
- The fact that you are presently reading this means that you have had
113
- knowledge of the CeCILL license and that you accept its terms.
114
-
115
- SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
116
-
117
- This software is being developed by Eric Debreuve, a CNRS employee and
118
- member of team Morpheme.
119
- Team Morpheme is a joint team between Inria, CNRS, and UniCA.
120
- It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
121
- I3S, and Laboratory iBV.
122
-
123
- CNRS: https://www.cnrs.fr/index.php/en
124
- Inria: https://www.inria.fr/en/
125
- UniCA: https://univ-cotedazur.eu/
126
- Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
127
- I3S: https://www.i3s.unice.fr/en/
128
- iBV: http://ibv.unice.fr/
129
- Team Morpheme: https://team.inria.fr/morpheme/
92
+ The imports are ordered by `isort <https://github.com/timothycrosley/isort/>`_... *your imports, so you don't have to*,
93
+ or `Ruff <https://github.com/astral-sh/ruff>`_, *An extremely fast Python linter and code formatter, written in Rust*.
@@ -0,0 +1,32 @@
1
+ // SEE COPYRIGHT and LICENCE NOTICES: files README-COPYRIGHT-utf8.txt and
2
+ // README-LICENCE-utf8.txt at project source root.
3
+
4
+ :AUTHOR: Eric Debreuve
5
+ :EMAIL: eric.debreuve@cnrs.fr
6
+
7
+ :PROJECT_NAME: BabelPlot
8
+ :SHORT_DESCRIPTION: A Meta Plotting Library That Speaks Several Backends
9
+ :KEYWORDS: plot, library
10
+
11
+ :REPOSITORY_NAME: babelplot
12
+ :REPOSITORY_USER: eric.debreuve
13
+ :REPOSITORY_ROOT: src.koda.cnrs.fr
14
+ :DOCUMENTATION_SITE: [...]-/wikis/home
15
+ :SINCE_YEAR: 2022
16
+
17
+ :LICENSE_SHORT: CeCILL-2.1
18
+ :LICENCE_LONG: CEA CNRS Inria Logiciel Libre License, version 2.1
19
+ :PY_VERSION_MIN: 3.11
20
+
21
+ :PYPI_NAME: babelplot
22
+ :PYPI_TOPIC: Scientific/Engineering :: Visualization
23
+ :PYPI_AUDIENCE: Science/Research
24
+ :PYPI_STATUS: 3 - Alpha
25
+
26
+ :IMPORT_NAME: babelplot
27
+ :CONFIG_FOLDER: None
28
+
29
+ :COMMANDS: None
30
+
31
+ :DEPENDENCIES_MANDATORY: color-spec-changer, extension-36, ft-logger, numpy, scikit-image, PyQt6, PyQt6-WebEngine
32
+ :DEPENDENCIES_OPTIONAL: bokeh, gr, matplotlib, plotly, vedo
@@ -0,0 +1,27 @@
1
+ """
2
+ SEE COPYRIGHT, LICENCE, and DOCUMENTATION NOTICES: files
3
+ README-COPYRIGHT-utf8.txt, README-LICENCE-utf8.txt, and README-DOCUMENTATION-utf8.txt
4
+ at project source root.
5
+ """
6
+
7
+ try:
8
+ from beartype.claw import beartype_this_package # noqa
9
+ except ModuleNotFoundError:
10
+ pass
11
+ else:
12
+ import site
13
+ from pathlib import Path as path_t
14
+
15
+ folder = path_t(__file__).parent
16
+ paths = site.getsitepackages() + [site.getusersitepackages()]
17
+ for path in paths:
18
+ if folder.is_relative_to(path):
19
+ break
20
+ else:
21
+ beartype_this_package()
22
+
23
+ from .version import __version__ # noqa
24
+ from .task.instantiation import NewFigure, NewPlot # noqa
25
+ from .task.showing import ShowFigures # noqa
26
+ from .type.dimension import dim_e # noqa
27
+ from .type.plot_type import plot_e # noqa
@@ -0,0 +1,9 @@
1
+ """
2
+ SEE COPYRIGHT, LICENCE, and DOCUMENTATION NOTICES: files
3
+ README-COPYRIGHT-utf8.txt, README-LICENCE-utf8.txt, and README-DOCUMENTATION-utf8.txt
4
+ at project source root.
5
+ """
6
+
7
+ from ..type.figure import figure_t # noqa
8
+ from ..type.frame import frame_t # noqa
9
+ from ..type.plot import plot_t # noqa
@@ -1,7 +1,7 @@
1
1
  """
2
- Copyright CNRS/Inria/UniCA
3
- Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2022
4
- SEE COPYRIGHT NOTICE BELOW
2
+ SEE COPYRIGHT, LICENCE, and DOCUMENTATION NOTICES: files
3
+ README-COPYRIGHT-utf8.txt, README-LICENCE-utf8.txt, and README-DOCUMENTATION-utf8.txt
4
+ at project source root.
5
5
  """
6
6
 
7
7
  import dataclasses as d
@@ -10,14 +10,6 @@ import typing as h
10
10
  from multiprocessing import Process as process_t
11
11
 
12
12
  import numpy as nmpy
13
- from babelplot.task.plotting import NewPlotFunctionsTemplate, SetDefaultPlotFunction
14
- from babelplot.task.showing import ShowHTMLPlotWithPyQt
15
- from babelplot.type.dimension import dim_e
16
- from babelplot.type.figure import figure_t as base_figure_t
17
- from babelplot.type.frame import frame_t as base_frame_t
18
- from babelplot.type.plot import plot_t as base_plot_t
19
- from babelplot.type.plot_function import plot_function_h
20
- from babelplot.type.plot_type import plot_e, plot_type_h
21
13
  from bokeh.embed import file_html as HTMLofBackendContent # noqa
22
14
  from bokeh.layouts import column as NewBackendColLayout # noqa
23
15
  from bokeh.layouts import grid as NewBackendGridLayout # noqa
@@ -26,6 +18,15 @@ from bokeh.models.renderers import GlyphRenderer as backend_plot_t # noqa
26
18
  from bokeh.plotting import figure as backend_frame_t # noqa
27
19
  from bokeh.resources import INLINE # noqa
28
20
 
21
+ from ...task.plotting import NewPlotFunctionsTemplate, SetDefaultPlotFunction
22
+ from ...task.showing import ShowHTMLPlotWithPyQt
23
+ from ...type.dimension import dim_e
24
+ from ...type.figure import figure_t as base_figure_t
25
+ from ...type.frame import frame_t as base_frame_t
26
+ from ...type.plot import plot_t as base_plot_t
27
+ from ...type.plot_function import plot_function_h
28
+ from ...type.plot_type import plot_e, plot_type_h
29
+
29
30
  NAME = "bokeh"
30
31
 
31
32
  array_t = nmpy.ndarray
@@ -40,7 +41,6 @@ class plot_t(base_plot_t): ...
40
41
 
41
42
  @d.dataclass(slots=True, repr=False, eq=False)
42
43
  class frame_t(base_frame_t):
43
-
44
44
  def _NewPlot(
45
45
  self,
46
46
  plot_function: plot_function_h,
@@ -60,7 +60,6 @@ class frame_t(base_frame_t):
60
60
 
61
61
  @d.dataclass(slots=True, repr=False, eq=False)
62
62
  class figure_t(base_figure_t):
63
-
64
63
  layout: h.Any = d.field(init=False, default=None)
65
64
 
66
65
  def _NewBackendFigure(self, *args, **kwargs) -> None:
@@ -232,59 +231,6 @@ SetDefaultPlotFunction(PLOTS, _DefaultFunction)
232
231
 
233
232
 
234
233
  TRANSLATIONS = {
235
- None: {
236
- "color_face": "fill_color",
237
- "opacity": "alpha",
238
- },
239
- "_NewFrame": {
240
- "azimuth": None,
241
- "elevation": None,
242
- },
234
+ None: {"color_face": "fill_color", "opacity": "alpha"},
235
+ "_NewFrame": {"azimuth": None, "elevation": None},
243
236
  }
244
-
245
-
246
- """
247
- COPYRIGHT NOTICE
248
-
249
- This software is governed by the CeCILL license under French law and
250
- abiding by the rules of distribution of free software. You can use,
251
- modify and/ or redistribute the software under the terms of the CeCILL
252
- license as circulated by CEA, CNRS and INRIA at the following URL
253
- "http://www.cecill.info".
254
-
255
- As a counterpart to the access to the source code and rights to copy,
256
- modify and redistribute granted by the license, users are provided only
257
- with a limited warranty and the software's author, the holder of the
258
- economic rights, and the successive licensors have only limited
259
- liability.
260
-
261
- In this respect, the user's attention is drawn to the risks associated
262
- with loading, using, modifying and/or developing or reproducing the
263
- software by the user in light of its specific status of free software,
264
- that may mean that it is complicated to manipulate, and that also
265
- therefore means that it is reserved for developers and experienced
266
- professionals having in-depth computer knowledge. Users are therefore
267
- encouraged to load and test the software's suitability as regards their
268
- requirements in conditions enabling the security of their systems and/or
269
- data to be ensured and, more generally, to use and operate it in the
270
- same conditions as regards security.
271
-
272
- The fact that you are presently reading this means that you have had
273
- knowledge of the CeCILL license and that you accept its terms.
274
-
275
- SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
276
-
277
- This software is being developed by Eric Debreuve, a CNRS employee and
278
- member of team Morpheme.
279
- Team Morpheme is a joint team between Inria, CNRS, and UniCA.
280
- It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
281
- I3S, and Laboratory iBV.
282
-
283
- CNRS: https://www.cnrs.fr/index.php/en
284
- Inria: https://www.inria.fr/en/
285
- UniCA: https://univ-cotedazur.eu/
286
- Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
287
- I3S: https://www.i3s.unice.fr/en/
288
- iBV: http://ibv.unice.fr/
289
- Team Morpheme: https://team.inria.fr/morpheme/
290
- """