plotext-plus 1.0.9__py3-none-any.whl → 1.0.11__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 CHANGED
@@ -1,31 +1,36 @@
1
1
  """\nplotext plots directly on terminal"""
2
-
2
+
3
3
  __name__ = "plotext"
4
4
  __version__ = "5.3.2"
5
5
 
6
6
  # Clean Public API - Organized by functionality
7
7
  # ===========================================
8
8
 
9
+ # Legacy imports for backward compatibility
9
10
  # Main plotting functions (most commonly used)
10
- from .plotting import *
11
+ from ._api import BarChart as BarChart
12
+ from ._api import CandlestickChart as CandlestickChart
13
+ from ._api import Chart as Chart
14
+ from ._api import HeatmapChart as HeatmapChart
15
+ from ._api import HistogramChart as HistogramChart
16
+ from ._api import Legend as Legend
17
+ from ._api import LineChart as LineChart
18
+ from ._api import MatrixChart as MatrixChart
19
+ from ._api import PlotextAPI as PlotextAPI
20
+ from ._api import ScatterChart as ScatterChart
21
+ from ._api import StemChart as StemChart
22
+ from ._api import api as api
23
+ from ._api import create_chart as create_chart
24
+
25
+ # Backward compatibility - Import original API
26
+ from ._core import *
11
27
 
12
- # Modern chart classes (object-oriented interface)
28
+ # Modern chart classes (object-oriented interface)
13
29
  from .charts import *
30
+ from .plotting import *
14
31
 
15
32
  # Theme system
16
33
  from .themes import *
17
34
 
18
35
  # Utilities and helpers
19
36
  from .utilities import *
20
-
21
- # Backward compatibility - Import original API
22
- from ._core import *
23
-
24
- # Legacy imports for backward compatibility
25
- from ._api import (
26
- Chart, Legend, PlotextAPI, api,
27
- ScatterChart, LineChart, BarChart, HistogramChart,
28
- CandlestickChart, HeatmapChart, MatrixChart, StemChart,
29
- create_chart, quick_scatter, quick_line, quick_bar, quick_pie, quick_donut,
30
- enable_banners, log_info, log_success, log_warning, log_error
31
- )
plotext_plus/__main__.py CHANGED
@@ -1,2 +1,3 @@
1
1
  from .plotext_cli import main
2
+
2
3
  main()