plotext-plus 1.0.8__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/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
- # Base classes
16
- Chart, Legend, PlotextAPI, api,
17
-
18
- # Specific chart types
19
- ScatterChart, LineChart, BarChart, HistogramChart,
20
- CandlestickChart, HeatmapChart, MatrixChart, StemChart,
21
-
22
- # Convenience functions
23
- create_chart, quick_scatter, quick_line, quick_bar, quick_pie, quick_donut,
24
-
25
- # Banner and logging utilities
26
- enable_banners, log_info, log_success, log_warning, log_error,
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
- 'Chart', 'Legend', 'PlotextAPI', 'api',
32
-
39
+ "Chart",
40
+ "Legend",
41
+ "PlotextAPI",
42
+ "api",
33
43
  # Chart types
34
- 'ScatterChart', 'LineChart', 'BarChart', 'HistogramChart',
35
- 'CandlestickChart', 'HeatmapChart', 'MatrixChart', 'StemChart',
36
-
44
+ "ScatterChart",
45
+ "LineChart",
46
+ "BarChart",
47
+ "HistogramChart",
48
+ "CandlestickChart",
49
+ "HeatmapChart",
50
+ "MatrixChart",
51
+ "StemChart",
37
52
  # Convenience functions
38
- 'create_chart', 'quick_scatter', 'quick_line', 'quick_bar', 'quick_pie', 'quick_donut',
39
-
53
+ "create_chart",
54
+ "quick_scatter",
55
+ "quick_line",
56
+ "quick_bar",
57
+ "quick_pie",
58
+ "quick_donut",
40
59
  # Utilities
41
- 'enable_banners', 'log_info', 'log_success', 'log_warning', 'log_error',
42
- ]
60
+ "enable_banners",
61
+ "log_info",
62
+ "log_success",
63
+ "log_warning",
64
+ "log_error",
65
+ ]