tesorotools-python 0.0.47__py3-none-any.whl → 0.0.49__py3-none-any.whl
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.
- tesorotools/__init__.py +2 -0
- tesorotools/artists/__init__.py +3 -7
- tesorotools/artists/_common.py +447 -59
- tesorotools/artists/barh_plot.py +416 -68
- tesorotools/artists/compact.py +66 -0
- tesorotools/artists/line_plot.py +132 -59
- tesorotools/artists/matrix.py +7 -2
- tesorotools/artists/stacked.py +51 -46
- tesorotools/artists/type_curve.py +58 -18
- tesorotools/artists/vector_plot.py +2 -1
- tesorotools/artists/waterfall.py +15 -7
- tesorotools/assets/plots.yaml +42 -7
- tesorotools/assets/template.docx +0 -0
- tesorotools/render/__init__.py +2 -0
- tesorotools/render/document.py +32 -0
- tesorotools/render/report.py +7 -1
- tesorotools/utils/globals.py +5 -0
- tesorotools/utils/matplotlib.py +27 -2
- {tesorotools_python-0.0.47.dist-info → tesorotools_python-0.0.49.dist-info}/METADATA +1 -1
- {tesorotools_python-0.0.47.dist-info → tesorotools_python-0.0.49.dist-info}/RECORD +21 -18
- {tesorotools_python-0.0.47.dist-info → tesorotools_python-0.0.49.dist-info}/WHEEL +0 -0
tesorotools/__init__.py
CHANGED
|
@@ -72,6 +72,7 @@ from tesorotools.render import (
|
|
|
72
72
|
Table,
|
|
73
73
|
Text,
|
|
74
74
|
Title,
|
|
75
|
+
new_document,
|
|
75
76
|
)
|
|
76
77
|
|
|
77
78
|
|
|
@@ -141,6 +142,7 @@ __all__ = [
|
|
|
141
142
|
"iter_contexts",
|
|
142
143
|
"iter_providers",
|
|
143
144
|
"iter_tags",
|
|
145
|
+
"new_document",
|
|
144
146
|
"register_artist",
|
|
145
147
|
"register_artists",
|
|
146
148
|
"register_provider",
|
tesorotools/artists/__init__.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"""Image artists.
|
|
2
2
|
|
|
3
|
-
Five chart classes
|
|
4
|
-
|
|
3
|
+
Five chart classes and one shared helpers module. Importing
|
|
4
|
+
``_common`` applies the house style (palette + fonts) as a side
|
|
5
|
+
effect, so the cycle is active no matter which artist is imported.
|
|
5
6
|
|
|
6
7
|
Each class follows the same shape:
|
|
7
8
|
|
|
@@ -24,8 +25,6 @@ live under :mod:`tesorotools.render`; this package is
|
|
|
24
25
|
strictly image output.
|
|
25
26
|
"""
|
|
26
27
|
|
|
27
|
-
import matplotlib.style
|
|
28
|
-
|
|
29
28
|
from tesorotools.artists._common import Artist, Format, Legend
|
|
30
29
|
from tesorotools.artists.barh_plot import GroupedBarChart, HorizontalBarChart
|
|
31
30
|
from tesorotools.artists.line_plot import LinePlot
|
|
@@ -34,9 +33,6 @@ from tesorotools.artists.stacked import StackedAreaPlot, StackedBarPlot
|
|
|
34
33
|
from tesorotools.artists.type_curve import TypeCurve
|
|
35
34
|
from tesorotools.artists.vector_plot import VectorPlot
|
|
36
35
|
from tesorotools.artists.waterfall import Waterfall
|
|
37
|
-
from tesorotools.utils.globals import STYLE_SHEET
|
|
38
|
-
|
|
39
|
-
matplotlib.style.use(STYLE_SHEET)
|
|
40
36
|
|
|
41
37
|
__all__ = [
|
|
42
38
|
"Artist",
|