plotext-plus 1.0.9__py3-none-any.whl → 1.0.10__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.
- plotext_plus/__init__.py +20 -15
- plotext_plus/__main__.py +1 -0
- plotext_plus/_api.py +632 -371
- plotext_plus/_build.py +765 -149
- plotext_plus/_core.py +609 -164
- plotext_plus/_date.py +50 -32
- plotext_plus/_default.py +35 -28
- plotext_plus/_dict.py +807 -103
- plotext_plus/_doc.py +867 -296
- plotext_plus/_doc_utils.py +279 -245
- plotext_plus/_figure.py +1295 -303
- plotext_plus/_global.py +238 -140
- plotext_plus/_matrix.py +217 -63
- plotext_plus/_monitor.py +1036 -489
- plotext_plus/_output.py +29 -23
- plotext_plus/_shtab.py +2 -0
- plotext_plus/_themes.py +363 -247
- plotext_plus/_utility.py +581 -313
- plotext_plus/api.py +418 -332
- plotext_plus/charts.py +47 -24
- plotext_plus/core.py +570 -177
- plotext_plus/mcp_cli.py +15 -13
- plotext_plus/mcp_server.py +813 -332
- plotext_plus/plotext_cli.py +414 -275
- plotext_plus/plotting.py +86 -70
- plotext_plus/themes.py +10 -13
- plotext_plus/utilities.py +33 -33
- plotext_plus/utils.py +240 -140
- {plotext_plus-1.0.9.dist-info → plotext_plus-1.0.10.dist-info}/METADATA +7 -2
- plotext_plus-1.0.10.dist-info/RECORD +33 -0
- plotext_plus-1.0.9.dist-info/RECORD +0 -33
- {plotext_plus-1.0.9.dist-info → plotext_plus-1.0.10.dist-info}/WHEEL +0 -0
- {plotext_plus-1.0.9.dist-info → plotext_plus-1.0.10.dist-info}/entry_points.txt +0 -0
- {plotext_plus-1.0.9.dist-info → plotext_plus-1.0.10.dist-info}/licenses/LICENSE +0 -0
plotext_plus/charts.py
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
# /usr/bin/env python3
|
|
2
|
-
# -*- coding: utf-8 -*-
|
|
3
2
|
|
|
4
3
|
"""
|
|
5
4
|
Plotext Modern Chart Classes - Clean Public API
|
|
@@ -11,32 +10,56 @@ interface compared to the traditional function-based API.
|
|
|
11
10
|
"""
|
|
12
11
|
|
|
13
12
|
# Import all chart classes from the internal API module
|
|
14
|
-
from ._api import
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
13
|
+
from ._api import BarChart
|
|
14
|
+
from ._api import CandlestickChart
|
|
15
|
+
from ._api import Chart # Base classes
|
|
16
|
+
from ._api import HeatmapChart
|
|
17
|
+
from ._api import HistogramChart
|
|
18
|
+
from ._api import Legend
|
|
19
|
+
from ._api import LineChart
|
|
20
|
+
from ._api import MatrixChart
|
|
21
|
+
from ._api import PlotextAPI
|
|
22
|
+
from ._api import ScatterChart # Specific chart types
|
|
23
|
+
from ._api import StemChart
|
|
24
|
+
from ._api import api
|
|
25
|
+
from ._api import create_chart # Convenience functions
|
|
26
|
+
from ._api import enable_banners # Banner and logging utilities
|
|
27
|
+
from ._api import log_error
|
|
28
|
+
from ._api import log_info
|
|
29
|
+
from ._api import log_success
|
|
30
|
+
from ._api import log_warning
|
|
31
|
+
from ._api import quick_bar
|
|
32
|
+
from ._api import quick_donut
|
|
33
|
+
from ._api import quick_line
|
|
34
|
+
from ._api import quick_pie
|
|
35
|
+
from ._api import quick_scatter
|
|
28
36
|
|
|
29
37
|
__all__ = [
|
|
30
38
|
# Base classes
|
|
31
|
-
|
|
32
|
-
|
|
39
|
+
"Chart",
|
|
40
|
+
"Legend",
|
|
41
|
+
"PlotextAPI",
|
|
42
|
+
"api",
|
|
33
43
|
# Chart types
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
44
|
+
"ScatterChart",
|
|
45
|
+
"LineChart",
|
|
46
|
+
"BarChart",
|
|
47
|
+
"HistogramChart",
|
|
48
|
+
"CandlestickChart",
|
|
49
|
+
"HeatmapChart",
|
|
50
|
+
"MatrixChart",
|
|
51
|
+
"StemChart",
|
|
37
52
|
# Convenience functions
|
|
38
|
-
|
|
39
|
-
|
|
53
|
+
"create_chart",
|
|
54
|
+
"quick_scatter",
|
|
55
|
+
"quick_line",
|
|
56
|
+
"quick_bar",
|
|
57
|
+
"quick_pie",
|
|
58
|
+
"quick_donut",
|
|
40
59
|
# Utilities
|
|
41
|
-
|
|
42
|
-
|
|
60
|
+
"enable_banners",
|
|
61
|
+
"log_info",
|
|
62
|
+
"log_success",
|
|
63
|
+
"log_warning",
|
|
64
|
+
"log_error",
|
|
65
|
+
]
|