babelplot 2022.11__tar.gz → 2024.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.
- babelplot-2024.1/MANIFEST.in +4 -0
- babelplot-2024.1/PKG-INFO +151 -0
- babelplot-2024.1/README-COPYRIGHT-utf8.txt +44 -0
- babelplot-2024.1/README.rst +129 -0
- babelplot-2024.1/documentation/wiki/description.asciidoc +74 -0
- babelplot-2024.1/package/babelplot/__init__.py +56 -0
- {babelplot-2022.11 → babelplot-2024.1/package}/babelplot/backend/bokeh_.py +62 -42
- babelplot-2024.1/package/babelplot/backend/brick/html.py +100 -0
- babelplot-2024.1/package/babelplot/backend/gr_.py +57 -0
- {babelplot-2022.11 → babelplot-2024.1/package}/babelplot/backend/helper/creation.py +56 -33
- {babelplot-2022.11 → babelplot-2024.1/package}/babelplot/backend/helper/validation.py +64 -42
- {babelplot-2022.11 → babelplot-2024.1/package}/babelplot/backend/matplotlib_.py +78 -53
- {babelplot-2022.11 → babelplot-2024.1/package}/babelplot/backend/plotly_.py +65 -43
- babelplot-2024.1/package/babelplot/backend/runtime.py +80 -0
- babelplot-2024.1/package/babelplot/backend/specification/implemented.py +121 -0
- {babelplot-2022.11 → babelplot-2024.1/package}/babelplot/backend/specification/plot.py +74 -51
- babelplot-2024.1/package/babelplot/backend/vedo_.py +148 -0
- {babelplot-2022.11 → babelplot-2024.1/package}/babelplot/help.py +57 -31
- {babelplot-2022.11 → babelplot-2024.1/package}/babelplot/main.py +58 -37
- babelplot-2024.1/package/babelplot/standard/enum_extensions.py +69 -0
- babelplot-2024.1/package/babelplot/type/base.py +139 -0
- babelplot-2024.1/package/babelplot/type/dimension.py +129 -0
- {babelplot-2022.11 → babelplot-2024.1/package}/babelplot/type/figure.py +69 -51
- {babelplot-2022.11 → babelplot-2024.1/package}/babelplot/type/frame.py +60 -43
- babelplot-2024.1/package/babelplot/type/plot.py +119 -0
- babelplot-2024.1/package/babelplot/version.py +53 -0
- babelplot-2024.1/package/babelplot.egg-info/PKG-INFO +151 -0
- babelplot-2024.1/package/babelplot.egg-info/SOURCES.txt +34 -0
- {babelplot-2022.11 → babelplot-2024.1/package}/babelplot.egg-info/requires.txt +1 -1
- {babelplot-2022.11 → babelplot-2024.1}/pyproject.toml +0 -1
- babelplot-2024.1/requirements.txt +3 -0
- babelplot-2024.1/setup.py +155 -0
- babelplot-2022.11/MANIFEST.in +0 -2
- babelplot-2022.11/PKG-INFO +0 -60
- babelplot-2022.11/README-COPYRIGHT-utf8.txt +0 -16
- babelplot-2022.11/README.rst +0 -41
- babelplot-2022.11/babelplot/__init__.py +0 -35
- babelplot-2022.11/babelplot/backend/brick/html.py +0 -74
- babelplot-2022.11/babelplot/backend/gr_.py +0 -35
- babelplot-2022.11/babelplot/backend/runtime.py +0 -59
- babelplot-2022.11/babelplot/backend/specification/implemented.py +0 -99
- babelplot-2022.11/babelplot/backend/vedo_.py +0 -128
- babelplot-2022.11/babelplot/standard/enum_extensions.py +0 -47
- babelplot-2022.11/babelplot/type/base.py +0 -114
- babelplot-2022.11/babelplot/type/dimension.py +0 -106
- babelplot-2022.11/babelplot/type/plot.py +0 -97
- babelplot-2022.11/babelplot.egg-info/PKG-INFO +0 -60
- babelplot-2022.11/babelplot.egg-info/SOURCES.txt +0 -31
- babelplot-2022.11/setup.py +0 -130
- {babelplot-2022.11 → babelplot-2024.1}/README-LICENCE-utf8.txt +0 -0
- {babelplot-2022.11 → babelplot-2024.1/package}/babelplot.egg-info/dependency_links.txt +0 -0
- {babelplot-2022.11 → babelplot-2024.1/package}/babelplot.egg-info/top_level.txt +0 -0
- {babelplot-2022.11 → babelplot-2024.1}/setup.cfg +0 -0
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: babelplot
|
|
3
|
+
Version: 2024.1
|
|
4
|
+
Summary: A Meta Plotting Library That Speaks Several Backends
|
|
5
|
+
Home-page: https://babelplot/eric.debreuve/src.koda.cnrs.fr/
|
|
6
|
+
Author: Eric Debreuve
|
|
7
|
+
Author-email: eric.debreuve@cnrs.fr
|
|
8
|
+
License: CeCILL-2.1
|
|
9
|
+
Project-URL: Documentation, https://babelplot/eric.debreuve/src.koda.cnrs.fr/-/wikis/home
|
|
10
|
+
Project-URL: Source, https://babelplot/eric.debreuve/src.koda.cnrs.fr/
|
|
11
|
+
Keywords: plot,library
|
|
12
|
+
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
13
|
+
Classifier: Intended Audience :: Science/Research
|
|
14
|
+
Classifier: License :: OSI Approved :: CEA CNRS Inria Logiciel Libre License, version 2.1 (CeCILL-2.1)
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Development Status :: 3 - Alpha
|
|
17
|
+
Requires-Python: >=3.11
|
|
18
|
+
Description-Content-Type: text/x-rst
|
|
19
|
+
Requires-Dist: numpy
|
|
20
|
+
Requires-Dist: PyQt6
|
|
21
|
+
Requires-Dist: scikit-image
|
|
22
|
+
|
|
23
|
+
..
|
|
24
|
+
Copyright CNRS/Inria/UniCA
|
|
25
|
+
Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2022
|
|
26
|
+
SEE COPYRIGHT NOTICE BELOW
|
|
27
|
+
|
|
28
|
+
.. |PROJECT_NAME| replace:: BabelPlot
|
|
29
|
+
.. |SHORT_DESCRIPTION| replace:: A Meta Plotting Library That Speaks Several Backends
|
|
30
|
+
|
|
31
|
+
.. |PYPI_NAME_LITERAL| replace:: ``babelplot``
|
|
32
|
+
.. |PYPI_PROJECT_URL| replace:: https://pypi.org/project/babelplot/
|
|
33
|
+
.. _PYPI_PROJECT_URL: https://pypi.org/project/babelplot/
|
|
34
|
+
|
|
35
|
+
.. |DOCUMENTATION_URL| replace:: https://src.koda.cnrs.fr/eric.debreuve/babelplot/-/wikis/home
|
|
36
|
+
.. _DOCUMENTATION_URL: https://src.koda.cnrs.fr/eric.debreuve/babelplot/-/wikis/home
|
|
37
|
+
|
|
38
|
+
.. |DEPENDENCIES_MANDATORY| replace:: numpy, PyQt6, scikit-image
|
|
39
|
+
.. |DEPENDENCIES_OPTIONAL| replace:: bokeh, gr, matplotlib, plotly, vedo
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
===================================
|
|
44
|
+
|PROJECT_NAME|: |SHORT_DESCRIPTION|
|
|
45
|
+
===================================
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
Documentation
|
|
50
|
+
=============
|
|
51
|
+
|
|
52
|
+
The documentation is available at |DOCUMENTATION_URL|_.
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
Installation
|
|
57
|
+
============
|
|
58
|
+
|
|
59
|
+
This project is published
|
|
60
|
+
on the `Python Package Index (PyPI) <https://pypi.org/>`_
|
|
61
|
+
at: |PYPI_PROJECT_URL|_.
|
|
62
|
+
It should be installable from Python distribution platforms or Integrated Development Environments (IDEs).
|
|
63
|
+
Otherwise, it can be installed from a command console using `pip <https://pip.pypa.io/>`_:
|
|
64
|
+
|
|
65
|
+
+--------------+-------------------------------------------------------+----------------------------------------------------------+
|
|
66
|
+
| | For all users (after acquiring administrative rights) | For the current user (no administrative rights required) |
|
|
67
|
+
+==============+=======================================================+==========================================================+
|
|
68
|
+
| Installation | ``pip install`` |PYPI_NAME_LITERAL| | ``pip install --user`` |PYPI_NAME_LITERAL| |
|
|
69
|
+
+--------------+-------------------------------------------------------+----------------------------------------------------------+
|
|
70
|
+
| Update | ``pip install --upgrade`` |PYPI_NAME_LITERAL| | ``pip install --user --upgrade`` |PYPI_NAME_LITERAL| |
|
|
71
|
+
+--------------+-------------------------------------------------------+----------------------------------------------------------+
|
|
72
|
+
|
|
73
|
+
Prior to using ``BabelPlot``, a (backend) plotting library must be installed (one of the optional dependencies below).
|
|
74
|
+
If in doubt, `Matplotlib <https://matplotlib.org>`_ should be installed.
|
|
75
|
+
|
|
76
|
+
.. note:: The `BabelPlot` project is currently in alpha stage: API and runtime stabilities are both unreliable.
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
Dependencies
|
|
81
|
+
============
|
|
82
|
+
|
|
83
|
+
The development relies on several packages:
|
|
84
|
+
|
|
85
|
+
- Mandatory: |DEPENDENCIES_MANDATORY|
|
|
86
|
+
- Optional: |DEPENDENCIES_OPTIONAL|
|
|
87
|
+
|
|
88
|
+
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|.
|
|
89
|
+
Python distribution platforms or Integrated Development Environments (IDEs) should also take care of this.
|
|
90
|
+
The optional dependencies, if any, must be installed independently by following the related instructions, for added functionalities of |PROJECT_NAME|.
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
Acknowledgments
|
|
95
|
+
===============
|
|
96
|
+
|
|
97
|
+
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
|
|
98
|
+
:target: https://github.com/psf/black
|
|
99
|
+
.. image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
|
|
100
|
+
:target: https://pycqa.github.io/isort/
|
|
101
|
+
|
|
102
|
+
The project is developed with `PyCharm Community <https://www.jetbrains.com/pycharm/>`_.
|
|
103
|
+
|
|
104
|
+
The code is formatted by `Black <https://github.com/psf/black/>`_, *The Uncompromising Code Formatter*.
|
|
105
|
+
|
|
106
|
+
The imports are ordered by `isort <https://github.com/timothycrosley/isort/>`_... *your imports, so you don't have to*.
|
|
107
|
+
|
|
108
|
+
..
|
|
109
|
+
COPYRIGHT NOTICE
|
|
110
|
+
|
|
111
|
+
This software is governed by the CeCILL license under French law and
|
|
112
|
+
abiding by the rules of distribution of free software. You can use,
|
|
113
|
+
modify and/ or redistribute the software under the terms of the CeCILL
|
|
114
|
+
license as circulated by CEA, CNRS and INRIA at the following URL
|
|
115
|
+
"http://www.cecill.info".
|
|
116
|
+
|
|
117
|
+
As a counterpart to the access to the source code and rights to copy,
|
|
118
|
+
modify and redistribute granted by the license, users are provided only
|
|
119
|
+
with a limited warranty and the software's author, the holder of the
|
|
120
|
+
economic rights, and the successive licensors have only limited
|
|
121
|
+
liability.
|
|
122
|
+
|
|
123
|
+
In this respect, the user's attention is drawn to the risks associated
|
|
124
|
+
with loading, using, modifying and/or developing or reproducing the
|
|
125
|
+
software by the user in light of its specific status of free software,
|
|
126
|
+
that may mean that it is complicated to manipulate, and that also
|
|
127
|
+
therefore means that it is reserved for developers and experienced
|
|
128
|
+
professionals having in-depth computer knowledge. Users are therefore
|
|
129
|
+
encouraged to load and test the software's suitability as regards their
|
|
130
|
+
requirements in conditions enabling the security of their systems and/or
|
|
131
|
+
data to be ensured and, more generally, to use and operate it in the
|
|
132
|
+
same conditions as regards security.
|
|
133
|
+
|
|
134
|
+
The fact that you are presently reading this means that you have had
|
|
135
|
+
knowledge of the CeCILL license and that you accept its terms.
|
|
136
|
+
|
|
137
|
+
SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
|
|
138
|
+
|
|
139
|
+
This software is being developed by Eric Debreuve, a CNRS employee and
|
|
140
|
+
member of team Morpheme.
|
|
141
|
+
Team Morpheme is a joint team between Inria, CNRS, and UniCA.
|
|
142
|
+
It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
|
|
143
|
+
I3S, and Laboratory iBV.
|
|
144
|
+
|
|
145
|
+
CNRS: https://www.cnrs.fr/index.php/en
|
|
146
|
+
Inria: https://www.inria.fr/en/
|
|
147
|
+
UniCA: https://univ-cotedazur.eu/
|
|
148
|
+
Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
|
|
149
|
+
I3S: https://www.i3s.unice.fr/en/
|
|
150
|
+
iBV: http://ibv.unice.fr/
|
|
151
|
+
Team Morpheme: https://team.inria.fr/morpheme/
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
Copyright CNRS/Inria/UniCA
|
|
2
|
+
Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2022
|
|
3
|
+
|
|
4
|
+
This software is governed by the CeCILL license under French law and
|
|
5
|
+
abiding by the rules of distribution of free software. You can use,
|
|
6
|
+
modify and/ or redistribute the software under the terms of the CeCILL
|
|
7
|
+
license as circulated by CEA, CNRS and INRIA at the following URL
|
|
8
|
+
"http://www.cecill.info".
|
|
9
|
+
|
|
10
|
+
As a counterpart to the access to the source code and rights to copy,
|
|
11
|
+
modify and redistribute granted by the license, users are provided only
|
|
12
|
+
with a limited warranty and the software's author, the holder of the
|
|
13
|
+
economic rights, and the successive licensors have only limited
|
|
14
|
+
liability.
|
|
15
|
+
|
|
16
|
+
In this respect, the user's attention is drawn to the risks associated
|
|
17
|
+
with loading, using, modifying and/or developing or reproducing the
|
|
18
|
+
software by the user in light of its specific status of free software,
|
|
19
|
+
that may mean that it is complicated to manipulate, and that also
|
|
20
|
+
therefore means that it is reserved for developers and experienced
|
|
21
|
+
professionals having in-depth computer knowledge. Users are therefore
|
|
22
|
+
encouraged to load and test the software's suitability as regards their
|
|
23
|
+
requirements in conditions enabling the security of their systems and/or
|
|
24
|
+
data to be ensured and, more generally, to use and operate it in the
|
|
25
|
+
same conditions as regards security.
|
|
26
|
+
|
|
27
|
+
The fact that you are presently reading this means that you have had
|
|
28
|
+
knowledge of the CeCILL license and that you accept its terms.
|
|
29
|
+
|
|
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,129 @@
|
|
|
1
|
+
..
|
|
2
|
+
Copyright CNRS/Inria/UniCA
|
|
3
|
+
Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2022
|
|
4
|
+
SEE COPYRIGHT NOTICE BELOW
|
|
5
|
+
|
|
6
|
+
.. |PROJECT_NAME| replace:: BabelPlot
|
|
7
|
+
.. |SHORT_DESCRIPTION| replace:: A Meta Plotting Library That Speaks Several Backends
|
|
8
|
+
|
|
9
|
+
.. |PYPI_NAME_LITERAL| replace:: ``babelplot``
|
|
10
|
+
.. |PYPI_PROJECT_URL| replace:: https://pypi.org/project/babelplot/
|
|
11
|
+
.. _PYPI_PROJECT_URL: https://pypi.org/project/babelplot/
|
|
12
|
+
|
|
13
|
+
.. |DOCUMENTATION_URL| replace:: https://src.koda.cnrs.fr/eric.debreuve/babelplot/-/wikis/home
|
|
14
|
+
.. _DOCUMENTATION_URL: https://src.koda.cnrs.fr/eric.debreuve/babelplot/-/wikis/home
|
|
15
|
+
|
|
16
|
+
.. |DEPENDENCIES_MANDATORY| replace:: numpy, PyQt6, scikit-image
|
|
17
|
+
.. |DEPENDENCIES_OPTIONAL| replace:: bokeh, gr, matplotlib, plotly, vedo
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
===================================
|
|
22
|
+
|PROJECT_NAME|: |SHORT_DESCRIPTION|
|
|
23
|
+
===================================
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
Documentation
|
|
28
|
+
=============
|
|
29
|
+
|
|
30
|
+
The documentation is available at |DOCUMENTATION_URL|_.
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
Installation
|
|
35
|
+
============
|
|
36
|
+
|
|
37
|
+
This project is published
|
|
38
|
+
on the `Python Package Index (PyPI) <https://pypi.org/>`_
|
|
39
|
+
at: |PYPI_PROJECT_URL|_.
|
|
40
|
+
It should be installable from Python distribution platforms or Integrated Development Environments (IDEs).
|
|
41
|
+
Otherwise, it can be installed from a command console using `pip <https://pip.pypa.io/>`_:
|
|
42
|
+
|
|
43
|
+
+--------------+-------------------------------------------------------+----------------------------------------------------------+
|
|
44
|
+
| | For all users (after acquiring administrative rights) | For the current user (no administrative rights required) |
|
|
45
|
+
+==============+=======================================================+==========================================================+
|
|
46
|
+
| Installation | ``pip install`` |PYPI_NAME_LITERAL| | ``pip install --user`` |PYPI_NAME_LITERAL| |
|
|
47
|
+
+--------------+-------------------------------------------------------+----------------------------------------------------------+
|
|
48
|
+
| Update | ``pip install --upgrade`` |PYPI_NAME_LITERAL| | ``pip install --user --upgrade`` |PYPI_NAME_LITERAL| |
|
|
49
|
+
+--------------+-------------------------------------------------------+----------------------------------------------------------+
|
|
50
|
+
|
|
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
|
+
|
|
57
|
+
|
|
58
|
+
Dependencies
|
|
59
|
+
============
|
|
60
|
+
|
|
61
|
+
The development relies on several packages:
|
|
62
|
+
|
|
63
|
+
- Mandatory: |DEPENDENCIES_MANDATORY|
|
|
64
|
+
- Optional: |DEPENDENCIES_OPTIONAL|
|
|
65
|
+
|
|
66
|
+
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|.
|
|
67
|
+
Python distribution platforms or Integrated Development Environments (IDEs) should also take care of this.
|
|
68
|
+
The optional dependencies, if any, must be installed independently by following the related instructions, for added functionalities of |PROJECT_NAME|.
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
Acknowledgments
|
|
73
|
+
===============
|
|
74
|
+
|
|
75
|
+
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
|
|
76
|
+
:target: https://github.com/psf/black
|
|
77
|
+
.. image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
|
|
78
|
+
:target: https://pycqa.github.io/isort/
|
|
79
|
+
|
|
80
|
+
The project is developed with `PyCharm Community <https://www.jetbrains.com/pycharm/>`_.
|
|
81
|
+
|
|
82
|
+
The code is formatted by `Black <https://github.com/psf/black/>`_, *The Uncompromising Code Formatter*.
|
|
83
|
+
|
|
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/
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// Copyright CNRS/Inria/UniCA
|
|
2
|
+
// Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2022
|
|
3
|
+
// SEE COPYRIGHT NOTICE BELOW
|
|
4
|
+
|
|
5
|
+
:AUTHOR: Eric Debreuve
|
|
6
|
+
:EMAIL: eric.debreuve@cnrs.fr
|
|
7
|
+
|
|
8
|
+
:PROJECT_NAME: BabelPlot
|
|
9
|
+
:SHORT_DESCRIPTION: A Meta Plotting Library That Speaks Several Backends
|
|
10
|
+
:KEYWORDS: plot, library
|
|
11
|
+
|
|
12
|
+
:REPOSITORY_NAME: src.koda.cnrs.fr
|
|
13
|
+
:REPOSITORY_USER: eric.debreuve
|
|
14
|
+
:REPOSITORY_SITE: babelplot
|
|
15
|
+
:DOCUMENTATION_SITE: -/wikis/home
|
|
16
|
+
:SINCE_YEAR: 2022
|
|
17
|
+
|
|
18
|
+
:LICENSE_SHORT: CeCILL-2.1
|
|
19
|
+
:LICENCE_LONG: CEA CNRS Inria Logiciel Libre License, version 2.1
|
|
20
|
+
:PY_VERSION_MAJOR: 3
|
|
21
|
+
:PY_VERSION_MIN: 3.11
|
|
22
|
+
|
|
23
|
+
:PYPI_NAME: babelplot
|
|
24
|
+
:PYPI_TOPIC: Scientific/Engineering :: Visualization
|
|
25
|
+
:PYPI_AUDIENCE: Science/Research
|
|
26
|
+
:PYPI_STATUS: 3 - Alpha
|
|
27
|
+
|
|
28
|
+
:IMPORT_NAME: babelplot
|
|
29
|
+
|
|
30
|
+
:DEPENDENCIES_OPTIONAL: bokeh, gr, matplotlib, plotly, vedo
|
|
31
|
+
|
|
32
|
+
// COPYRIGHT NOTICE
|
|
33
|
+
//
|
|
34
|
+
// This software is governed by the CeCILL license under French law and
|
|
35
|
+
// abiding by the rules of distribution of free software. You can use,
|
|
36
|
+
// modify and/ or redistribute the software under the terms of the CeCILL
|
|
37
|
+
// license as circulated by CEA, CNRS and INRIA at the following URL
|
|
38
|
+
// "http://www.cecill.info".
|
|
39
|
+
//
|
|
40
|
+
// As a counterpart to the access to the source code and rights to copy,
|
|
41
|
+
// modify and redistribute granted by the license, users are provided only
|
|
42
|
+
// with a limited warranty and the software's author, the holder of the
|
|
43
|
+
// economic rights, and the successive licensors have only limited
|
|
44
|
+
// liability.
|
|
45
|
+
//
|
|
46
|
+
// In this respect, the user's attention is drawn to the risks associated
|
|
47
|
+
// with loading, using, modifying and/or developing or reproducing the
|
|
48
|
+
// software by the user in light of its specific status of free software,
|
|
49
|
+
// that may mean that it is complicated to manipulate, and that also
|
|
50
|
+
// therefore means that it is reserved for developers and experienced
|
|
51
|
+
// professionals having in-depth computer knowledge. Users are therefore
|
|
52
|
+
// encouraged to load and test the software's suitability as regards their
|
|
53
|
+
// requirements in conditions enabling the security of their systems and/or
|
|
54
|
+
// data to be ensured and, more generally, to use and operate it in the
|
|
55
|
+
// same conditions as regards security.
|
|
56
|
+
//
|
|
57
|
+
// The fact that you are presently reading this means that you have had
|
|
58
|
+
// knowledge of the CeCILL license and that you accept its terms.
|
|
59
|
+
//
|
|
60
|
+
// SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
|
|
61
|
+
//
|
|
62
|
+
// This software is being developed by Eric Debreuve, a CNRS employee and
|
|
63
|
+
// member of team Morpheme.
|
|
64
|
+
// Team Morpheme is a joint team between Inria, CNRS, and UniCA.
|
|
65
|
+
// It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
|
|
66
|
+
// I3S, and Laboratory iBV.
|
|
67
|
+
//
|
|
68
|
+
// CNRS: https://www.cnrs.fr/index.php/en
|
|
69
|
+
// Inria: https://www.inria.fr/en/
|
|
70
|
+
// UniCA: https://univ-cotedazur.eu/
|
|
71
|
+
// Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
|
|
72
|
+
// I3S: https://www.i3s.unice.fr/en/
|
|
73
|
+
// iBV: http://ibv.unice.fr/
|
|
74
|
+
// Team Morpheme: https://team.inria.fr/morpheme/
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Copyright CNRS/Inria/UniCA
|
|
3
|
+
Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2022
|
|
4
|
+
SEE COPYRIGHT NOTICE BELOW
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from babelplot.backend.specification.plot import plot_e
|
|
8
|
+
from babelplot.main import NewBabelPlot, NewBabelPlotFigure
|
|
9
|
+
from babelplot.type.figure import ShowAllFigures, figure_t
|
|
10
|
+
from babelplot.version import __version__
|
|
11
|
+
|
|
12
|
+
"""
|
|
13
|
+
COPYRIGHT NOTICE
|
|
14
|
+
|
|
15
|
+
This software is governed by the CeCILL license under French law and
|
|
16
|
+
abiding by the rules of distribution of free software. You can use,
|
|
17
|
+
modify and/ or redistribute the software under the terms of the CeCILL
|
|
18
|
+
license as circulated by CEA, CNRS and INRIA at the following URL
|
|
19
|
+
"http://www.cecill.info".
|
|
20
|
+
|
|
21
|
+
As a counterpart to the access to the source code and rights to copy,
|
|
22
|
+
modify and redistribute granted by the license, users are provided only
|
|
23
|
+
with a limited warranty and the software's author, the holder of the
|
|
24
|
+
economic rights, and the successive licensors have only limited
|
|
25
|
+
liability.
|
|
26
|
+
|
|
27
|
+
In this respect, the user's attention is drawn to the risks associated
|
|
28
|
+
with loading, using, modifying and/or developing or reproducing the
|
|
29
|
+
software by the user in light of its specific status of free software,
|
|
30
|
+
that may mean that it is complicated to manipulate, and that also
|
|
31
|
+
therefore means that it is reserved for developers and experienced
|
|
32
|
+
professionals having in-depth computer knowledge. Users are therefore
|
|
33
|
+
encouraged to load and test the software's suitability as regards their
|
|
34
|
+
requirements in conditions enabling the security of their systems and/or
|
|
35
|
+
data to be ensured and, more generally, to use and operate it in the
|
|
36
|
+
same conditions as regards security.
|
|
37
|
+
|
|
38
|
+
The fact that you are presently reading this means that you have had
|
|
39
|
+
knowledge of the CeCILL license and that you accept its terms.
|
|
40
|
+
|
|
41
|
+
SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
|
|
42
|
+
|
|
43
|
+
This software is being developed by Eric Debreuve, a CNRS employee and
|
|
44
|
+
member of team Morpheme.
|
|
45
|
+
Team Morpheme is a joint team between Inria, CNRS, and UniCA.
|
|
46
|
+
It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
|
|
47
|
+
I3S, and Laboratory iBV.
|
|
48
|
+
|
|
49
|
+
CNRS: https://www.cnrs.fr/index.php/en
|
|
50
|
+
Inria: https://www.inria.fr/en/
|
|
51
|
+
UniCA: https://univ-cotedazur.eu/
|
|
52
|
+
Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
|
|
53
|
+
I3S: https://www.i3s.unice.fr/en/
|
|
54
|
+
iBV: http://ibv.unice.fr/
|
|
55
|
+
Team Morpheme: https://team.inria.fr/morpheme/
|
|
56
|
+
"""
|
|
@@ -1,46 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
# This software is governed by the CeCILL license under French law and
|
|
7
|
-
# abiding by the rules of distribution of free software. You can use,
|
|
8
|
-
# modify and/ or redistribute the software under the terms of the CeCILL
|
|
9
|
-
# license as circulated by CEA, CNRS and INRIA at the following URL
|
|
10
|
-
# "http://www.cecill.info".
|
|
11
|
-
#
|
|
12
|
-
# As a counterpart to the access to the source code and rights to copy,
|
|
13
|
-
# modify and redistribute granted by the license, users are provided only
|
|
14
|
-
# with a limited warranty and the software's author, the holder of the
|
|
15
|
-
# economic rights, and the successive licensors have only limited
|
|
16
|
-
# liability.
|
|
17
|
-
#
|
|
18
|
-
# In this respect, the user's attention is drawn to the risks associated
|
|
19
|
-
# with loading, using, modifying and/or developing or reproducing the
|
|
20
|
-
# software by the user in light of its specific status of free software,
|
|
21
|
-
# that may mean that it is complicated to manipulate, and that also
|
|
22
|
-
# therefore means that it is reserved for developers and experienced
|
|
23
|
-
# professionals having in-depth computer knowledge. Users are therefore
|
|
24
|
-
# encouraged to load and test the software's suitability as regards their
|
|
25
|
-
# requirements in conditions enabling the security of their systems and/or
|
|
26
|
-
# data to be ensured and, more generally, to use and operate it in the
|
|
27
|
-
# same conditions as regards security.
|
|
28
|
-
#
|
|
29
|
-
# The fact that you are presently reading this means that you have had
|
|
30
|
-
# knowledge of the CeCILL license and that you accept its terms.
|
|
1
|
+
"""
|
|
2
|
+
Copyright CNRS/Inria/UniCA
|
|
3
|
+
Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2022
|
|
4
|
+
SEE COPYRIGHT NOTICE BELOW
|
|
5
|
+
"""
|
|
31
6
|
|
|
32
7
|
from __future__ import annotations
|
|
33
8
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
from bokeh.embed import file_html as HTMLofBackendContent # noqa
|
|
37
|
-
from bokeh.layouts import LayoutDOM as backend_content_t # noqa
|
|
38
|
-
from bokeh.layouts import column as NewBackendColLayout # noqa
|
|
39
|
-
from bokeh.layouts import grid as NewBackendGridLayout # noqa
|
|
40
|
-
from bokeh.layouts import row as NewBackendRowLayout # noqa
|
|
41
|
-
from bokeh.models.renderers import GlyphRenderer as backend_plot_t # noqa
|
|
42
|
-
from bokeh.plotting.figure import Figure as backend_figure_t # noqa
|
|
43
|
-
from bokeh.resources import INLINE # noqa
|
|
9
|
+
import typing as h
|
|
44
10
|
|
|
45
11
|
from babelplot.backend.brick.html import Show
|
|
46
12
|
from babelplot.backend.specification.implemented import backend_e
|
|
@@ -49,7 +15,14 @@ from babelplot.type.dimension import dim_e
|
|
|
49
15
|
from babelplot.type.figure import figure_t as base_figure_t
|
|
50
16
|
from babelplot.type.frame import frame_t as base_frame_t
|
|
51
17
|
from babelplot.type.plot import plot_t as base_plot_t
|
|
52
|
-
|
|
18
|
+
from bokeh.embed import file_html as HTMLofBackendContent # noqa
|
|
19
|
+
from bokeh.layouts import LayoutDOM as backend_content_t # noqa
|
|
20
|
+
from bokeh.layouts import column as NewBackendColLayout # noqa
|
|
21
|
+
from bokeh.layouts import grid as NewBackendGridLayout # noqa
|
|
22
|
+
from bokeh.layouts import row as NewBackendRowLayout # noqa
|
|
23
|
+
from bokeh.models.renderers import GlyphRenderer as backend_plot_t # noqa
|
|
24
|
+
from bokeh.plotting import figure as backend_figure_t # noqa
|
|
25
|
+
from bokeh.resources import INLINE # noqa
|
|
53
26
|
|
|
54
27
|
NAME = backend_e.BOKEH.value
|
|
55
28
|
|
|
@@ -60,7 +33,7 @@ backend_frame_t = backend_figure_t
|
|
|
60
33
|
def _NewPlot(
|
|
61
34
|
frame: backend_frame_t,
|
|
62
35
|
type_: plot_type_h | type(backend_plot_t),
|
|
63
|
-
plot_function:
|
|
36
|
+
plot_function: h.Callable | None,
|
|
64
37
|
*args,
|
|
65
38
|
title: str = None, # If _, then it is swallowed by kwargs!
|
|
66
39
|
**kwargs,
|
|
@@ -145,3 +118,50 @@ PLOTS[plot_e.SCATTER][1] = backend_frame_t.scatter
|
|
|
145
118
|
TRANSLATIONS = {
|
|
146
119
|
"color_face": "fill_color",
|
|
147
120
|
}
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
"""
|
|
124
|
+
COPYRIGHT NOTICE
|
|
125
|
+
|
|
126
|
+
This software is governed by the CeCILL license under French law and
|
|
127
|
+
abiding by the rules of distribution of free software. You can use,
|
|
128
|
+
modify and/ or redistribute the software under the terms of the CeCILL
|
|
129
|
+
license as circulated by CEA, CNRS and INRIA at the following URL
|
|
130
|
+
"http://www.cecill.info".
|
|
131
|
+
|
|
132
|
+
As a counterpart to the access to the source code and rights to copy,
|
|
133
|
+
modify and redistribute granted by the license, users are provided only
|
|
134
|
+
with a limited warranty and the software's author, the holder of the
|
|
135
|
+
economic rights, and the successive licensors have only limited
|
|
136
|
+
liability.
|
|
137
|
+
|
|
138
|
+
In this respect, the user's attention is drawn to the risks associated
|
|
139
|
+
with loading, using, modifying and/or developing or reproducing the
|
|
140
|
+
software by the user in light of its specific status of free software,
|
|
141
|
+
that may mean that it is complicated to manipulate, and that also
|
|
142
|
+
therefore means that it is reserved for developers and experienced
|
|
143
|
+
professionals having in-depth computer knowledge. Users are therefore
|
|
144
|
+
encouraged to load and test the software's suitability as regards their
|
|
145
|
+
requirements in conditions enabling the security of their systems and/or
|
|
146
|
+
data to be ensured and, more generally, to use and operate it in the
|
|
147
|
+
same conditions as regards security.
|
|
148
|
+
|
|
149
|
+
The fact that you are presently reading this means that you have had
|
|
150
|
+
knowledge of the CeCILL license and that you accept its terms.
|
|
151
|
+
|
|
152
|
+
SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
|
|
153
|
+
|
|
154
|
+
This software is being developed by Eric Debreuve, a CNRS employee and
|
|
155
|
+
member of team Morpheme.
|
|
156
|
+
Team Morpheme is a joint team between Inria, CNRS, and UniCA.
|
|
157
|
+
It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
|
|
158
|
+
I3S, and Laboratory iBV.
|
|
159
|
+
|
|
160
|
+
CNRS: https://www.cnrs.fr/index.php/en
|
|
161
|
+
Inria: https://www.inria.fr/en/
|
|
162
|
+
UniCA: https://univ-cotedazur.eu/
|
|
163
|
+
Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
|
|
164
|
+
I3S: https://www.i3s.unice.fr/en/
|
|
165
|
+
iBV: http://ibv.unice.fr/
|
|
166
|
+
Team Morpheme: https://team.inria.fr/morpheme/
|
|
167
|
+
"""
|