lessPython 0.2.0__py3-none-any.whl → 0.3.0__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.
Files changed (48) hide show
  1. lessPy/ANOVA.py +5 -5
  2. lessPy/Chart.py +386 -88
  3. lessPy/Correlation.py +2 -2
  4. lessPy/Logit.py +2 -2
  5. lessPy/Regression.py +6 -4
  6. lessPy/X.py +279 -42
  7. lessPy/XY.py +814 -158
  8. lessPy/__init__.py +12 -2
  9. lessPy/_themes.py +5007 -0
  10. lessPy/bc_items_plotly.py +31 -18
  11. lessPy/bc_plotly.py +23 -7
  12. lessPy/bubble_plotly.py +17 -2
  13. lessPy/corCFA.py +3 -3
  14. lessPy/corProp.py +2 -2
  15. lessPy/corReflect.py +2 -2
  16. lessPy/corReorder.py +2 -2
  17. lessPy/corScree.py +3 -3
  18. lessPy/data/StockPrice.csv +1401 -1386
  19. lessPy/details.py +17 -4
  20. lessPy/dn_plotly.py +65 -45
  21. lessPy/freq_poly_plotly.py +12 -5
  22. lessPy/getColors.py +247 -20
  23. lessPy/hier_plotly.py +36 -9
  24. lessPy/hs_plotly.py +16 -4
  25. lessPy/plotly_utils.py +78 -9
  26. lessPy/plt_mat_plotly.py +74 -2
  27. lessPy/plt_time.py +10 -3
  28. lessPy/prob_norm.py +3 -3
  29. lessPy/prob_tcut.py +3 -3
  30. lessPy/prob_znorm.py +3 -1
  31. lessPy/rcolors.py +461 -0
  32. lessPy/simCImean.py +3 -3
  33. lessPy/simCLT.py +3 -3
  34. lessPy/simFlips.py +3 -3
  35. lessPy/simMeans.py +3 -3
  36. lessPy/stats_out.py +257 -11
  37. lessPy/style.py +160 -0
  38. lessPy/sunflower_plotly.py +140 -0
  39. lessPy/ttest.py +5 -5
  40. lessPy/utils.py +43 -6
  41. lessPy/vbs_plotly.py +16 -5
  42. lessPy/x_console.py +763 -0
  43. {lesspython-0.2.0.dist-info → lesspython-0.3.0.dist-info}/METADATA +6 -2
  44. lesspython-0.3.0.dist-info/RECORD +89 -0
  45. lesspython-0.2.0.dist-info/RECORD +0 -84
  46. {lesspython-0.2.0.dist-info → lesspython-0.3.0.dist-info}/WHEEL +0 -0
  47. {lesspython-0.2.0.dist-info → lesspython-0.3.0.dist-info}/licenses/LICENSE +0 -0
  48. {lesspython-0.2.0.dist-info → lesspython-0.3.0.dist-info}/top_level.txt +0 -0
lessPy/__init__.py CHANGED
@@ -14,6 +14,7 @@ from .plt_plotly import plt_plotly
14
14
  from .radar_plotly import radar_plotly
15
15
  from .Regression import Regression
16
16
  from .utils import get_option, set_option
17
+ from .style import style
17
18
  from .vbs_plotly import vbs_plotly
18
19
  from .X import X
19
20
  from .ANOVA import ANOVA
@@ -48,7 +49,13 @@ from .details import details
48
49
  from .VariableLabels import VariableLabels
49
50
  from .XY import XY
50
51
 
51
- __version__ = "0.1.0"
52
+ # the version of the installed distribution, read from its metadata so
53
+ # that it cannot fall behind pyproject.toml
54
+ try:
55
+ from importlib.metadata import version as _version
56
+ __version__ = _version("lessPython")
57
+ except Exception: # running from an uninstalled tree
58
+ __version__ = "unknown"
52
59
 
53
60
  __all__ = ["Chart", "X", "XY", "ANOVA", "ttest", "Regression", "Logit",
54
61
  "read_data", "datasets", "reshape_long", "reshape_wide", "pivot", "corEFA", "corCFA", "corScree", "corReorder", "corProp", "Correlation", "corReflect", "corRead", "Prop_test", "corPrint", "Flows", "date_infer", "format_date_labels", "rename", "showColors", "getColors", "simCLT", "simMeans", "simFlips", "simCImean", "order_by", "prob_norm", "prob_znorm", "prob_tcut", "details",
@@ -57,4 +64,7 @@ __all__ = ["Chart", "X", "XY", "ANOVA", "ttest", "Regression", "Logit",
57
64
  "freq_poly_plotly", "hier_plotly", "hs_plotly",
58
65
  "pie_plotly", "plt_plotly", "radar_plotly",
59
66
  "vbs_plotly",
60
- "get_option", "set_option"]
67
+ "get_option", "set_option", "style"]
68
+
69
+ # begin as lessR does at load, in the default theme
70
+ style()