babelplot 2024.2__tar.gz → 2024.4__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.2 → babelplot-2024.4}/PKG-INFO +2 -2
- {babelplot-2024.2 → babelplot-2024.4}/README.rst +1 -1
- {babelplot-2024.2 → babelplot-2024.4}/package/babelplot/__init__.py +4 -3
- {babelplot-2024.2/package/babelplot/backend → babelplot-2024.4/package/babelplot/backend/catalog}/bokeh_.py +4 -4
- {babelplot-2024.2/package/babelplot/backend → babelplot-2024.4/package/babelplot/backend/catalog}/matplotlib_.py +3 -3
- {babelplot-2024.2/package/babelplot/backend → babelplot-2024.4/package/babelplot/backend/catalog}/plotly_.py +4 -4
- {babelplot-2024.2/package/babelplot/backend → babelplot-2024.4/package/babelplot/backend/catalog}/vedo_.py +3 -3
- {babelplot-2024.2 → babelplot-2024.4}/package/babelplot/backend/helper/validation.py +1 -1
- babelplot-2024.2/package/babelplot/backend/specification/implemented.py → babelplot-2024.4/package/babelplot/backend/specification/backend.py +1 -1
- {babelplot-2024.2/package/babelplot/backend → babelplot-2024.4/package/babelplot/backend/specification}/runtime.py +1 -4
- babelplot-2024.2/package/babelplot/backend/gr_.py → babelplot-2024.4/package/babelplot/constant/backend.py +1 -5
- babelplot-2024.4/package/babelplot/constant/project.py +53 -0
- {babelplot-2024.2 → babelplot-2024.4}/package/babelplot/help.py +4 -3
- {babelplot-2024.2 → babelplot-2024.4}/package/babelplot/main.py +12 -11
- {babelplot-2024.2/package/babelplot/type → babelplot-2024.4/package/babelplot/specification}/dimension.py +1 -1
- {babelplot-2024.2/package/babelplot/backend → babelplot-2024.4/package/babelplot}/specification/plot.py +1 -1
- babelplot-2024.2/package/babelplot/backend/brick/html.py → babelplot-2024.4/package/babelplot/task/show_pyqt6.py +2 -2
- {babelplot-2024.2 → babelplot-2024.4}/package/babelplot/type/base.py +2 -2
- {babelplot-2024.2 → babelplot-2024.4}/package/babelplot/type/figure.py +4 -4
- {babelplot-2024.2 → babelplot-2024.4}/package/babelplot/type/frame.py +3 -3
- {babelplot-2024.2 → babelplot-2024.4}/package/babelplot/type/plot.py +1 -1
- {babelplot-2024.2 → babelplot-2024.4}/package/babelplot/version.py +1 -1
- {babelplot-2024.2 → babelplot-2024.4}/package/babelplot.egg-info/PKG-INFO +2 -2
- {babelplot-2024.2 → babelplot-2024.4}/package/babelplot.egg-info/SOURCES.txt +12 -11
- {babelplot-2024.2 → babelplot-2024.4}/MANIFEST.in +0 -0
- {babelplot-2024.2 → babelplot-2024.4}/README-COPYRIGHT-utf8.txt +0 -0
- {babelplot-2024.2 → babelplot-2024.4}/README-LICENCE-utf8.txt +0 -0
- {babelplot-2024.2 → babelplot-2024.4}/documentation/wiki/description.asciidoc +0 -0
- {babelplot-2024.2 → babelplot-2024.4}/package/babelplot/backend/helper/creation.py +0 -0
- /babelplot-2024.2/package/babelplot/standard/enum_extensions.py → /babelplot-2024.4/package/babelplot/extension/enum_.py +0 -0
- {babelplot-2024.2 → babelplot-2024.4}/package/babelplot.egg-info/dependency_links.txt +0 -0
- {babelplot-2024.2 → babelplot-2024.4}/package/babelplot.egg-info/requires.txt +0 -0
- {babelplot-2024.2 → babelplot-2024.4}/package/babelplot.egg-info/top_level.txt +0 -0
- {babelplot-2024.2 → babelplot-2024.4}/pyproject.toml +0 -0
- {babelplot-2024.2 → babelplot-2024.4}/requirements.txt +0 -0
- {babelplot-2024.2 → babelplot-2024.4}/setup.cfg +0 -0
- {babelplot-2024.2 → babelplot-2024.4}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: babelplot
|
|
3
|
-
Version: 2024.
|
|
3
|
+
Version: 2024.4
|
|
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
|
|
@@ -36,7 +36,7 @@ Requires-Dist: scikit-image
|
|
|
36
36
|
.. _DOCUMENTATION_URL: https://src.koda.cnrs.fr/eric.debreuve/babelplot/-/wikis/home
|
|
37
37
|
|
|
38
38
|
.. |DEPENDENCIES_MANDATORY| replace:: numpy, PyQt6, scikit-image
|
|
39
|
-
.. |DEPENDENCIES_OPTIONAL| replace:: bokeh,
|
|
39
|
+
.. |DEPENDENCIES_OPTIONAL| replace:: bokeh, matplotlib, plotly, vedo
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
.. _DOCUMENTATION_URL: https://src.koda.cnrs.fr/eric.debreuve/babelplot/-/wikis/home
|
|
15
15
|
|
|
16
16
|
.. |DEPENDENCIES_MANDATORY| replace:: numpy, PyQt6, scikit-image
|
|
17
|
-
.. |DEPENDENCIES_OPTIONAL| replace:: bokeh,
|
|
17
|
+
.. |DEPENDENCIES_OPTIONAL| replace:: bokeh, matplotlib, plotly, vedo
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -4,9 +4,10 @@ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2022
|
|
|
4
4
|
SEE COPYRIGHT NOTICE BELOW
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
|
-
from babelplot.backend.specification.
|
|
8
|
-
from babelplot.main import
|
|
9
|
-
from babelplot.
|
|
7
|
+
from babelplot.backend.specification.backend import backend_e
|
|
8
|
+
from babelplot.main import NewFigure, NewPlot
|
|
9
|
+
from babelplot.specification.plot import plot_e
|
|
10
|
+
from babelplot.type.figure import ShowAllFigures
|
|
10
11
|
from babelplot.version import __version__
|
|
11
12
|
|
|
12
13
|
"""
|
|
@@ -8,10 +8,10 @@ from __future__ import annotations
|
|
|
8
8
|
|
|
9
9
|
import typing as h
|
|
10
10
|
|
|
11
|
-
from babelplot.backend.
|
|
12
|
-
from babelplot.
|
|
13
|
-
from babelplot.
|
|
14
|
-
from babelplot.
|
|
11
|
+
from babelplot.backend.specification.backend import backend_e
|
|
12
|
+
from babelplot.specification.dimension import dim_e
|
|
13
|
+
from babelplot.specification.plot import PlotsFromTemplate, plot_e, plot_type_h
|
|
14
|
+
from babelplot.task.show_pyqt6 import Show
|
|
15
15
|
from babelplot.type.figure import figure_t as base_figure_t
|
|
16
16
|
from babelplot.type.frame import frame_t as base_frame_t
|
|
17
17
|
from babelplot.type.plot import plot_t as base_plot_t
|
|
@@ -11,10 +11,10 @@ import typing as h
|
|
|
11
11
|
import matplotlib.pyplot as pypl # noqa
|
|
12
12
|
import numpy as nmpy
|
|
13
13
|
import skimage.measure as msre
|
|
14
|
-
from babelplot.backend.specification.
|
|
15
|
-
from babelplot.
|
|
14
|
+
from babelplot.backend.specification.backend import backend_e
|
|
15
|
+
from babelplot.specification.dimension import dim_e
|
|
16
|
+
from babelplot.specification.plot import PlotsFromTemplate, plot_e, plot_type_h
|
|
16
17
|
from babelplot.type.base import backend_element_h, backend_plot_h
|
|
17
|
-
from babelplot.type.dimension import dim_e
|
|
18
18
|
from babelplot.type.figure import figure_t as base_figure_t
|
|
19
19
|
from babelplot.type.frame import frame_t as base_frame_t
|
|
20
20
|
from babelplot.type.plot import plot_t as base_plot_t
|
|
@@ -12,14 +12,14 @@ from pathlib import Path as path_t
|
|
|
12
12
|
import numpy as nmpy
|
|
13
13
|
import plotly.figure_factory as fcry
|
|
14
14
|
import plotly.graph_objects as plly # noqa
|
|
15
|
-
from babelplot.backend.
|
|
16
|
-
from babelplot.
|
|
17
|
-
from babelplot.backend.specification.plot import (
|
|
15
|
+
from babelplot.backend.specification.backend import backend_e
|
|
16
|
+
from babelplot.specification.plot import (
|
|
18
17
|
UNDEFINED_PARAMETER,
|
|
19
18
|
PlotsFromTemplate,
|
|
20
19
|
plot_e,
|
|
21
20
|
plot_type_h,
|
|
22
21
|
)
|
|
22
|
+
from babelplot.task.show_pyqt6 import Show
|
|
23
23
|
from babelplot.type.figure import figure_t as base_figure_t
|
|
24
24
|
from babelplot.type.frame import frame_t as base_frame_t
|
|
25
25
|
from babelplot.type.plot import plot_t as base_plot_t
|
|
@@ -119,7 +119,7 @@ def _AsHTML(figure: figure_t, /) -> str:
|
|
|
119
119
|
- "cdn": works but must be online.
|
|
120
120
|
- True => blank figure if using
|
|
121
121
|
PySide6.QtWebEngineWidgets.QWebEngineView.setHtml because of html size limit.
|
|
122
|
-
See note in babelplot.
|
|
122
|
+
See note in babelplot.task.html.Show.
|
|
123
123
|
"""
|
|
124
124
|
return figure.backend.to_html(include_plotlyjs=True, config=_FIGURE_CONFIG)
|
|
125
125
|
|
|
@@ -9,10 +9,10 @@ from __future__ import annotations
|
|
|
9
9
|
import typing as h
|
|
10
10
|
|
|
11
11
|
import vedo # noqa
|
|
12
|
-
from babelplot.backend.specification.
|
|
13
|
-
from babelplot.
|
|
12
|
+
from babelplot.backend.specification.backend import backend_e
|
|
13
|
+
from babelplot.specification.dimension import dim_e
|
|
14
|
+
from babelplot.specification.plot import PlotsFromTemplate, plot_e, plot_type_h
|
|
14
15
|
from babelplot.type.base import backend_plot_h
|
|
15
|
-
from babelplot.type.dimension import dim_e
|
|
16
16
|
from babelplot.type.figure import figure_t as base_figure_t
|
|
17
17
|
from babelplot.type.frame import frame_t as base_frame_t
|
|
18
18
|
from babelplot.type.plot import plot_t as base_plot_t
|
|
@@ -13,7 +13,7 @@ from pathlib import Path as path_t
|
|
|
13
13
|
from types import FunctionType as function_type_t
|
|
14
14
|
from types import ModuleType as module_type_t
|
|
15
15
|
|
|
16
|
-
from babelplot.
|
|
16
|
+
from babelplot.specification.plot import plot_e
|
|
17
17
|
from logger_36 import LOGGER
|
|
18
18
|
|
|
19
19
|
py_module_h = h.TypeVar("py_module_h", bound=str) # E.g. module.submodule.
|
|
@@ -4,10 +4,7 @@ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2022
|
|
|
4
4
|
SEE COPYRIGHT NOTICE BELOW
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
|
-
from babelplot.
|
|
8
|
-
arguments_translations_h,
|
|
9
|
-
backend_plots_h,
|
|
10
|
-
)
|
|
7
|
+
from babelplot.specification.plot import arguments_translations_h, backend_plots_h
|
|
11
8
|
|
|
12
9
|
_BACKEND_SPECIFICATION = {}
|
|
13
10
|
|
|
@@ -4,11 +4,7 @@ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2022
|
|
|
4
4
|
SEE COPYRIGHT NOTICE BELOW
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
# In particular:
|
|
9
|
-
# import gr3
|
|
10
|
-
# gr3.export('700K_460-scene.html', 600, 600)
|
|
11
|
-
|
|
7
|
+
BACKEND_FOLDER_PY = "babelplot.backend.catalog"
|
|
12
8
|
|
|
13
9
|
"""
|
|
14
10
|
COPYRIGHT NOTICE
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
NAME = "BabelPlot"
|
|
8
|
+
|
|
9
|
+
"""
|
|
10
|
+
COPYRIGHT NOTICE
|
|
11
|
+
|
|
12
|
+
This software is governed by the CeCILL license under French law and
|
|
13
|
+
abiding by the rules of distribution of free software. You can use,
|
|
14
|
+
modify and/ or redistribute the software under the terms of the CeCILL
|
|
15
|
+
license as circulated by CEA, CNRS and INRIA at the following URL
|
|
16
|
+
"http://www.cecill.info".
|
|
17
|
+
|
|
18
|
+
As a counterpart to the access to the source code and rights to copy,
|
|
19
|
+
modify and redistribute granted by the license, users are provided only
|
|
20
|
+
with a limited warranty and the software's author, the holder of the
|
|
21
|
+
economic rights, and the successive licensors have only limited
|
|
22
|
+
liability.
|
|
23
|
+
|
|
24
|
+
In this respect, the user's attention is drawn to the risks associated
|
|
25
|
+
with loading, using, modifying and/or developing or reproducing the
|
|
26
|
+
software by the user in light of its specific status of free software,
|
|
27
|
+
that may mean that it is complicated to manipulate, and that also
|
|
28
|
+
therefore means that it is reserved for developers and experienced
|
|
29
|
+
professionals having in-depth computer knowledge. Users are therefore
|
|
30
|
+
encouraged to load and test the software's suitability as regards their
|
|
31
|
+
requirements in conditions enabling the security of their systems and/or
|
|
32
|
+
data to be ensured and, more generally, to use and operate it in the
|
|
33
|
+
same conditions as regards security.
|
|
34
|
+
|
|
35
|
+
The fact that you are presently reading this means that you have had
|
|
36
|
+
knowledge of the CeCILL license and that you accept its terms.
|
|
37
|
+
|
|
38
|
+
SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
|
|
39
|
+
|
|
40
|
+
This software is being developed by Eric Debreuve, a CNRS employee and
|
|
41
|
+
member of team Morpheme.
|
|
42
|
+
Team Morpheme is a joint team between Inria, CNRS, and UniCA.
|
|
43
|
+
It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
|
|
44
|
+
I3S, and Laboratory iBV.
|
|
45
|
+
|
|
46
|
+
CNRS: https://www.cnrs.fr/index.php/en
|
|
47
|
+
Inria: https://www.inria.fr/en/
|
|
48
|
+
UniCA: https://univ-cotedazur.eu/
|
|
49
|
+
Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
|
|
50
|
+
I3S: https://www.i3s.unice.fr/en/
|
|
51
|
+
iBV: http://ibv.unice.fr/
|
|
52
|
+
Team Morpheme: https://team.inria.fr/morpheme/
|
|
53
|
+
"""
|
|
@@ -7,8 +7,9 @@ SEE COPYRIGHT NOTICE BELOW
|
|
|
7
7
|
import importlib as mprt
|
|
8
8
|
import sys as sstm
|
|
9
9
|
|
|
10
|
-
from babelplot.backend.specification.
|
|
11
|
-
from babelplot.backend
|
|
10
|
+
from babelplot.backend.specification.backend import backend_e
|
|
11
|
+
from babelplot.constant.backend import BACKEND_FOLDER_PY
|
|
12
|
+
from babelplot.specification.plot import UNAVAILABLE_for_this_DIM, plot_e
|
|
12
13
|
from logger_36.handler import AddConsoleHandler
|
|
13
14
|
|
|
14
15
|
AddConsoleHandler()
|
|
@@ -50,7 +51,7 @@ def Main() -> None:
|
|
|
50
51
|
elif n_arguments == 3:
|
|
51
52
|
if backend_e.IsValid(sstm.argv[1]):
|
|
52
53
|
pbe = backend_e.NewFromName(sstm.argv[1])
|
|
53
|
-
backend = mprt.import_module(f"
|
|
54
|
+
backend = mprt.import_module(f"{BACKEND_FOLDER_PY}.{pbe.value}_")
|
|
54
55
|
if sstm.argv[2] == "plots":
|
|
55
56
|
plots = []
|
|
56
57
|
for key, value in backend.PLOTS.items():
|
|
@@ -9,18 +9,19 @@ import sys as sstm
|
|
|
9
9
|
import typing as h
|
|
10
10
|
from pathlib import Path as path_t
|
|
11
11
|
|
|
12
|
-
from babelplot.backend.
|
|
13
|
-
from babelplot.backend.specification.
|
|
14
|
-
from babelplot.backend
|
|
12
|
+
from babelplot.backend.specification.backend import backend_e
|
|
13
|
+
from babelplot.backend.specification.runtime import AddBackendSpecification
|
|
14
|
+
from babelplot.constant.backend import BACKEND_FOLDER_PY
|
|
15
|
+
from babelplot.specification.dimension import dim_e
|
|
16
|
+
from babelplot.specification.plot import TranslatedArguments, plot_type_h
|
|
15
17
|
from babelplot.type.base import backend_plot_h
|
|
16
|
-
from babelplot.type.dimension import dim_e
|
|
17
18
|
from babelplot.type.figure import figure_t
|
|
18
19
|
from babelplot.type.frame import frame_t
|
|
19
20
|
from babelplot.type.plot import plot_t
|
|
20
21
|
from logger_36 import LOGGER
|
|
21
22
|
|
|
22
23
|
|
|
23
|
-
def
|
|
24
|
+
def NewFigure(
|
|
24
25
|
*args,
|
|
25
26
|
title: str = None,
|
|
26
27
|
offline_version: bool = False,
|
|
@@ -45,7 +46,7 @@ def NewBabelPlotFigure(
|
|
|
45
46
|
spec.loader.exec_module(module)
|
|
46
47
|
else:
|
|
47
48
|
try:
|
|
48
|
-
module = mprt.import_module(f"
|
|
49
|
+
module = mprt.import_module(f"{BACKEND_FOLDER_PY}.{pbe.value}_")
|
|
49
50
|
except ModuleNotFoundError:
|
|
50
51
|
LOGGER.error(
|
|
51
52
|
f"{pbe.value}: Unusable backend. "
|
|
@@ -69,7 +70,7 @@ def NewBabelPlotFigure(
|
|
|
69
70
|
return instance
|
|
70
71
|
|
|
71
72
|
|
|
72
|
-
def
|
|
73
|
+
def NewPlot(
|
|
73
74
|
type_: plot_type_h | type(backend_plot_h),
|
|
74
75
|
*plt_args,
|
|
75
76
|
fig_args=(),
|
|
@@ -87,13 +88,13 @@ def NewBabelPlot(
|
|
|
87
88
|
) -> tuple[figure_t, frame_t, plot_t] | None:
|
|
88
89
|
""""""
|
|
89
90
|
if fig_kwargs is None:
|
|
90
|
-
fig_kwargs =
|
|
91
|
+
fig_kwargs = {}
|
|
91
92
|
if frm_kwargs is None:
|
|
92
|
-
frm_kwargs =
|
|
93
|
+
frm_kwargs = {}
|
|
93
94
|
if plt_kwargs is None:
|
|
94
|
-
plt_kwargs =
|
|
95
|
+
plt_kwargs = {}
|
|
95
96
|
|
|
96
|
-
figure =
|
|
97
|
+
figure = NewFigure(
|
|
97
98
|
*fig_args,
|
|
98
99
|
title=fig_title,
|
|
99
100
|
pbe=pbe,
|
|
@@ -9,7 +9,7 @@ from enum import Enum as enum_t
|
|
|
9
9
|
from enum import unique
|
|
10
10
|
from operator import itemgetter as ItemAt
|
|
11
11
|
|
|
12
|
-
from babelplot.
|
|
12
|
+
from babelplot.extension.enum_ import EnumMembers, EnumValues
|
|
13
13
|
|
|
14
14
|
UNAVAILABLE_for_this_DIM = None
|
|
15
15
|
UNDEFINED_PARAMETER = "__UNDEFINED_PARAMETER__"
|
|
@@ -8,8 +8,8 @@ import os as osys
|
|
|
8
8
|
import sys as sstm
|
|
9
9
|
import tempfile as tmpf
|
|
10
10
|
|
|
11
|
+
from babelplot.constant.project import NAME
|
|
11
12
|
from babelplot.type.figure import figure_t
|
|
12
|
-
|
|
13
13
|
from PyQt6.QtCore import QUrl as url_t
|
|
14
14
|
from PyQt6.QtWebEngineWidgets import QWebEngineView as widget_t
|
|
15
15
|
from PyQt6.QtWidgets import QApplication as application_t
|
|
@@ -21,7 +21,7 @@ def Show(figure: figure_t, /) -> None:
|
|
|
21
21
|
# exec().
|
|
22
22
|
if (application := application_t.instance()) is None:
|
|
23
23
|
application = application_t(sstm.argv)
|
|
24
|
-
application.setApplicationName(f"
|
|
24
|
+
application.setApplicationName(f"{NAME}-{id(figure)}")
|
|
25
25
|
widget = widget_t()
|
|
26
26
|
|
|
27
27
|
html = figure.AsHTML()
|
|
@@ -7,8 +7,8 @@ SEE COPYRIGHT NOTICE BELOW
|
|
|
7
7
|
import dataclasses as dtcl
|
|
8
8
|
import typing as h
|
|
9
9
|
|
|
10
|
-
from babelplot.backend.runtime import BackendTranslations
|
|
11
|
-
from babelplot.
|
|
10
|
+
from babelplot.backend.specification.runtime import BackendTranslations
|
|
11
|
+
from babelplot.specification.plot import TranslatedArguments
|
|
12
12
|
from logger_36 import LOGGER
|
|
13
13
|
|
|
14
14
|
backend_figure_h = h.TypeVar("backend_figure_h")
|
|
@@ -8,12 +8,12 @@ import dataclasses as dtcl
|
|
|
8
8
|
import typing as h
|
|
9
9
|
from multiprocessing import Process as process_t
|
|
10
10
|
|
|
11
|
-
from babelplot.backend.
|
|
12
|
-
from babelplot.backend.specification.
|
|
13
|
-
from babelplot.
|
|
11
|
+
from babelplot.backend.specification.backend import backend_e
|
|
12
|
+
from babelplot.backend.specification.runtime import BackendTranslations
|
|
13
|
+
from babelplot.specification.dimension import dim_e
|
|
14
|
+
from babelplot.specification.plot import TranslatedArguments
|
|
14
15
|
from babelplot.type.base import babelplot_element_t as base_figure_t
|
|
15
16
|
from babelplot.type.base import backend_figure_h, backend_frame_h
|
|
16
|
-
from babelplot.type.dimension import dim_e
|
|
17
17
|
from babelplot.type.frame import frame_t
|
|
18
18
|
from logger_36 import LOGGER
|
|
19
19
|
|
|
@@ -7,11 +7,11 @@ SEE COPYRIGHT NOTICE BELOW
|
|
|
7
7
|
import dataclasses as dtcl
|
|
8
8
|
import typing as h
|
|
9
9
|
|
|
10
|
-
from babelplot.backend.runtime import BackendPlots, BackendTranslations
|
|
11
|
-
from babelplot.
|
|
10
|
+
from babelplot.backend.specification.runtime import BackendPlots, BackendTranslations
|
|
11
|
+
from babelplot.specification.dimension import FRAME_DIM_FOR_DATA_DIM, dim_e
|
|
12
|
+
from babelplot.specification.plot import TranslatedArguments, plot_type_h
|
|
12
13
|
from babelplot.type.base import babelplot_element_t as base_frame_t
|
|
13
14
|
from babelplot.type.base import backend_frame_h, backend_plot_h
|
|
14
|
-
from babelplot.type.dimension import FRAME_DIM_FOR_DATA_DIM, dim_e
|
|
15
15
|
from babelplot.type.plot import BackendPlotFromAny, plot_t
|
|
16
16
|
|
|
17
17
|
plot_type_w_pbe_h = plot_type_h | type(backend_plot_h)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: babelplot
|
|
3
|
-
Version: 2024.
|
|
3
|
+
Version: 2024.4
|
|
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
|
|
@@ -36,7 +36,7 @@ Requires-Dist: scikit-image
|
|
|
36
36
|
.. _DOCUMENTATION_URL: https://src.koda.cnrs.fr/eric.debreuve/babelplot/-/wikis/home
|
|
37
37
|
|
|
38
38
|
.. |DEPENDENCIES_MANDATORY| replace:: numpy, PyQt6, scikit-image
|
|
39
|
-
.. |DEPENDENCIES_OPTIONAL| replace:: bokeh,
|
|
39
|
+
.. |DEPENDENCIES_OPTIONAL| replace:: bokeh, matplotlib, plotly, vedo
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
@@ -15,20 +15,21 @@ package/babelplot.egg-info/SOURCES.txt
|
|
|
15
15
|
package/babelplot.egg-info/dependency_links.txt
|
|
16
16
|
package/babelplot.egg-info/requires.txt
|
|
17
17
|
package/babelplot.egg-info/top_level.txt
|
|
18
|
-
package/babelplot/backend/bokeh_.py
|
|
19
|
-
package/babelplot/backend/
|
|
20
|
-
package/babelplot/backend/
|
|
21
|
-
package/babelplot/backend/
|
|
22
|
-
package/babelplot/backend/runtime.py
|
|
23
|
-
package/babelplot/backend/vedo_.py
|
|
24
|
-
package/babelplot/backend/brick/html.py
|
|
18
|
+
package/babelplot/backend/catalog/bokeh_.py
|
|
19
|
+
package/babelplot/backend/catalog/matplotlib_.py
|
|
20
|
+
package/babelplot/backend/catalog/plotly_.py
|
|
21
|
+
package/babelplot/backend/catalog/vedo_.py
|
|
25
22
|
package/babelplot/backend/helper/creation.py
|
|
26
23
|
package/babelplot/backend/helper/validation.py
|
|
27
|
-
package/babelplot/backend/specification/
|
|
28
|
-
package/babelplot/backend/specification/
|
|
29
|
-
package/babelplot/
|
|
24
|
+
package/babelplot/backend/specification/backend.py
|
|
25
|
+
package/babelplot/backend/specification/runtime.py
|
|
26
|
+
package/babelplot/constant/backend.py
|
|
27
|
+
package/babelplot/constant/project.py
|
|
28
|
+
package/babelplot/extension/enum_.py
|
|
29
|
+
package/babelplot/specification/dimension.py
|
|
30
|
+
package/babelplot/specification/plot.py
|
|
31
|
+
package/babelplot/task/show_pyqt6.py
|
|
30
32
|
package/babelplot/type/base.py
|
|
31
|
-
package/babelplot/type/dimension.py
|
|
32
33
|
package/babelplot/type/figure.py
|
|
33
34
|
package/babelplot/type/frame.py
|
|
34
35
|
package/babelplot/type/plot.py
|
|
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
|