babelplot 2025.2__tar.gz → 2025.3__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 (37) hide show
  1. {babelplot-2025.2 → babelplot-2025.3}/PKG-INFO +1 -1
  2. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/backend/catalog/matplotlib_.py +3 -3
  3. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/backend/helper/validation.py +2 -2
  4. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/main.py +2 -2
  5. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/type/base.py +4 -4
  6. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/type/figure.py +4 -4
  7. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/version.py +1 -1
  8. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot.egg-info/PKG-INFO +1 -1
  9. {babelplot-2025.2 → babelplot-2025.3}/MANIFEST.in +0 -0
  10. {babelplot-2025.2 → babelplot-2025.3}/README-COPYRIGHT-utf8.txt +0 -0
  11. {babelplot-2025.2 → babelplot-2025.3}/README-LICENCE-utf8.txt +0 -0
  12. {babelplot-2025.2 → babelplot-2025.3}/README.rst +0 -0
  13. {babelplot-2025.2 → babelplot-2025.3}/documentation/wiki/description.asciidoc +0 -0
  14. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/__init__.py +0 -0
  15. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/backend/catalog/bokeh_.py +0 -0
  16. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/backend/catalog/plotly_.py +0 -0
  17. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/backend/catalog/vedo_.py +0 -0
  18. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/backend/helper/creation.py +0 -0
  19. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/backend/specification/backend.py +0 -0
  20. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/backend/specification/runtime.py +0 -0
  21. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/constant/backend.py +0 -0
  22. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/constant/project.py +0 -0
  23. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/extension/enum_.py +0 -0
  24. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/help.py +0 -0
  25. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/specification/dimension.py +0 -0
  26. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/specification/plot.py +0 -0
  27. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/task/show_pyqt6.py +0 -0
  28. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/type/frame.py +0 -0
  29. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot/type/plot.py +0 -0
  30. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot.egg-info/SOURCES.txt +0 -0
  31. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot.egg-info/dependency_links.txt +0 -0
  32. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot.egg-info/requires.txt +0 -0
  33. {babelplot-2025.2 → babelplot-2025.3}/package/babelplot.egg-info/top_level.txt +0 -0
  34. {babelplot-2025.2 → babelplot-2025.3}/pyproject.toml +0 -0
  35. {babelplot-2025.2 → babelplot-2025.3}/requirements.txt +0 -0
  36. {babelplot-2025.2 → babelplot-2025.3}/setup.cfg +0 -0
  37. {babelplot-2025.2 → babelplot-2025.3}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: babelplot
3
- Version: 2025.2
3
+ Version: 2025.3
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
@@ -18,7 +18,7 @@ from babelplot.type.base import backend_element_h, backend_plot_h
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
21
- from logger_36 import LOGGER
21
+ from logger_36 import L
22
22
  from matplotlib.artist import Artist as backend_plot_t # noqa
23
23
  from matplotlib.container import Container as backend_plots_t # noqa
24
24
  from matplotlib.gridspec import GridSpec as grid_spec_t # noqa
@@ -162,7 +162,7 @@ def _SetProperty(
162
162
  try:
163
163
  pypl.setp(element, **property_)
164
164
  except AttributeError:
165
- LOGGER.error(
165
+ L.error(
166
166
  f'Property "{name}": Invalid property for element of type "{type(element).__name__}"'
167
167
  )
168
168
 
@@ -178,7 +178,7 @@ def _Property(
178
178
  output = pypl.getp(element, property=name)
179
179
  except AttributeError:
180
180
  output = None
181
- LOGGER.error(
181
+ L.error(
182
182
  f'Property "{name}": Invalid property for element of type "{type(element).__name__}"'
183
183
  )
184
184
 
@@ -14,7 +14,7 @@ from types import FunctionType as function_type_t
14
14
  from types import ModuleType as module_type_t
15
15
 
16
16
  from babelplot.specification.plot import plot_e
17
- from logger_36 import LOGGER
17
+ from logger_36 import L
18
18
 
19
19
  py_module_h = h.TypeVar("py_module_h", bound=str) # E.g. module.submodule.
20
20
  module_path_t = str
@@ -73,7 +73,7 @@ def DefinedBackendMethods(
73
73
  output = {}
74
74
 
75
75
  if not hasattr(imported, target_class):
76
- LOGGER.error(f'{module}: Does not define a "{target_class}" class')
76
+ L.error(f'{module}: Does not define a "{target_class}" class')
77
77
  return {}
78
78
 
79
79
  target_class = getattr(imported, target_class)
@@ -18,7 +18,7 @@ from babelplot.type.base import backend_plot_h
18
18
  from babelplot.type.figure import figure_t
19
19
  from babelplot.type.frame import frame_t
20
20
  from babelplot.type.plot import plot_t
21
- from logger_36 import LOGGER
21
+ from logger_36 import L
22
22
 
23
23
 
24
24
  def NewFigure(
@@ -48,7 +48,7 @@ def NewFigure(
48
48
  try:
49
49
  module = mprt.import_module(f"{BACKEND_FOLDER_PY}.{pbe.value}_")
50
50
  except ModuleNotFoundError:
51
- LOGGER.error(
51
+ L.error(
52
52
  f"{pbe.value}: Unusable backend. "
53
53
  f"Might be due to backend not being installed "
54
54
  f"or implementation error in backend."
@@ -9,7 +9,7 @@ import typing as h
9
9
 
10
10
  from babelplot.backend.specification.runtime import BackendTranslations
11
11
  from babelplot.specification.plot import TranslatedArguments
12
- from logger_36 import LOGGER
12
+ from logger_36 import L
13
13
 
14
14
  backend_figure_h = h.TypeVar("backend_figure_h")
15
15
  backend_frame_h = h.TypeVar("backend_frame_h")
@@ -38,14 +38,14 @@ class babelplot_element_t:
38
38
  element: backend_element_h, name: str, value: h.Any, /
39
39
  ) -> None:
40
40
  """"""
41
- LOGGER.warning(
41
+ L.warning(
42
42
  f"{babelplot_element_t.BackendSetProperty.__name__}: Not provided by backend."
43
43
  )
44
44
 
45
45
  @staticmethod
46
46
  def BackendProperty(element: backend_element_h, name: str, /) -> h.Any:
47
47
  """"""
48
- LOGGER.warning(
48
+ L.warning(
49
49
  f"{babelplot_element_t.BackendProperty.__name__}: Not provided by backend."
50
50
  )
51
51
 
@@ -57,7 +57,7 @@ class babelplot_element_t:
57
57
 
58
58
  if (n_properties := args.__len__()) > 0:
59
59
  if (n_properties % 2) > 0:
60
- LOGGER.error(
60
+ L.error(
61
61
  f"N. argument(s)={n_properties}: Properties not passed in matching key-value pairs. "
62
62
  f"Expected=Even number."
63
63
  )
@@ -15,7 +15,7 @@ from babelplot.specification.plot import TranslatedArguments
15
15
  from babelplot.type.base import babelplot_element_t as base_figure_t
16
16
  from babelplot.type.base import backend_figure_h, backend_frame_h
17
17
  from babelplot.type.frame import frame_t
18
- from logger_36 import LOGGER
18
+ from logger_36 import L
19
19
 
20
20
  _un_shown_figures = []
21
21
  _shown_figures = []
@@ -57,10 +57,10 @@ class figure_t(base_figure_t):
57
57
  dim = dim_e.NewFromName(dim)
58
58
 
59
59
  if (where := (row, col)) in self.locations:
60
- LOGGER.error(f"{where}: Frame grid cell already filled")
60
+ L.error(f"{where}: Frame grid cell already filled")
61
61
  return None
62
62
  if (row < 0) and (col < 0):
63
- LOGGER.error(f"{where}: Grid coordinates cannot be both negative")
63
+ L.error(f"{where}: Grid coordinates cannot be both negative")
64
64
  return None
65
65
  if row < 0:
66
66
  row = self.shape[0]
@@ -89,7 +89,7 @@ class figure_t(base_figure_t):
89
89
  def LocationOfFrame(self, frame: frame_t, /) -> tuple[int, int] | None:
90
90
  """"""
91
91
  if frame not in self.frames:
92
- LOGGER.error(f"{frame}: Not a frame of the figure.")
92
+ L.error(f"{frame}: Not a frame of the figure.")
93
93
  return None
94
94
 
95
95
  where = self.frames.index(frame)
@@ -4,7 +4,7 @@ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2022
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
6
6
 
7
- __version__ = "2025.2"
7
+ __version__ = "2025.3"
8
8
 
9
9
  """
10
10
  COPYRIGHT NOTICE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: babelplot
3
- Version: 2025.2
3
+ Version: 2025.3
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes