lessPython 0.1.1__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 (54) hide show
  1. lessPy/ANOVA.py +5 -5
  2. lessPy/Chart.py +1088 -154
  3. lessPy/Correlation.py +14 -3
  4. lessPy/Flows.py +5 -1
  5. lessPy/Logit.py +2 -2
  6. lessPy/Regression.py +6 -4
  7. lessPy/X.py +280 -43
  8. lessPy/XY.py +894 -238
  9. lessPy/__init__.py +12 -2
  10. lessPy/_themes.py +5007 -0
  11. lessPy/bc_items_plotly.py +208 -0
  12. lessPy/bc_plotly.py +116 -36
  13. lessPy/bubble_plotly.py +17 -2
  14. lessPy/corCFA.py +3 -3
  15. lessPy/corProp.py +2 -2
  16. lessPy/corReflect.py +2 -2
  17. lessPy/corReorder.py +2 -2
  18. lessPy/corScree.py +3 -3
  19. lessPy/data/StockPrice.csv +1401 -1386
  20. lessPy/details.py +17 -4
  21. lessPy/dn_plotly.py +66 -46
  22. lessPy/dot_plotly.py +112 -41
  23. lessPy/freq_poly_plotly.py +13 -6
  24. lessPy/getColors.py +253 -21
  25. lessPy/hier_plotly.py +84 -14
  26. lessPy/hs_plotly.py +19 -7
  27. lessPy/pie_plotly.py +17 -7
  28. lessPy/pivot.py +6 -3
  29. lessPy/plotly_utils.py +146 -23
  30. lessPy/plt_mat_plotly.py +74 -2
  31. lessPy/plt_plotly.py +15 -3
  32. lessPy/plt_time.py +11 -4
  33. lessPy/prob_norm.py +3 -3
  34. lessPy/prob_tcut.py +3 -3
  35. lessPy/prob_znorm.py +3 -1
  36. lessPy/profile_plotly.py +121 -0
  37. lessPy/rcolors.py +461 -0
  38. lessPy/simCImean.py +3 -3
  39. lessPy/simCLT.py +3 -3
  40. lessPy/simFlips.py +3 -3
  41. lessPy/simMeans.py +3 -3
  42. lessPy/stats_out.py +639 -38
  43. lessPy/style.py +160 -0
  44. lessPy/sunflower_plotly.py +140 -0
  45. lessPy/ttest.py +5 -5
  46. lessPy/utils.py +97 -20
  47. lessPy/vbs_plotly.py +31 -16
  48. lessPy/x_console.py +763 -0
  49. {lesspython-0.1.1.dist-info → lesspython-0.3.0.dist-info}/METADATA +9 -3
  50. lesspython-0.3.0.dist-info/RECORD +89 -0
  51. {lesspython-0.1.1.dist-info → lesspython-0.3.0.dist-info}/WHEEL +1 -1
  52. lesspython-0.1.1.dist-info/RECORD +0 -82
  53. {lesspython-0.1.1.dist-info → lesspython-0.3.0.dist-info}/licenses/LICENSE +0 -0
  54. {lesspython-0.1.1.dist-info → lesspython-0.3.0.dist-info}/top_level.txt +0 -0
lessPy/ANOVA.py CHANGED
@@ -25,7 +25,7 @@ from .plotly_utils import (
25
25
  BASE_COLORS, axis_cat, axis_format, axis_num, make_trans,
26
26
  plot_border, plotly_style, to_hex, x_grid)
27
27
  from .Regression import _getdigits, _prntbl
28
- from .utils import fmt, get_column, get_option, pretty
28
+ from .utils import fmt, get_column, get_option, pretty, show_plots
29
29
 
30
30
 
31
31
  class ANOVAResults:
@@ -384,14 +384,14 @@ def _oneway(fit, yv, gv, y_name, x_name, levels, n_keep, d,
384
384
  plots["means"] = _anova_means_plot(
385
385
  yv, gv, y_name, x_name, levels, jitter_x, d)
386
386
 
387
- return ANOVAResults(
387
+ return show_plots(ANOVAResults(
388
388
  formula=formula, design="oneway", n_obs=n_obs,
389
389
  n_keep=n_keep, digits_d=d, response=y_name,
390
390
  factors=[x_name], descriptive=desc, grand_mean=grand,
391
391
  anova=tbl,
392
392
  effects={"R_squared": rsq, "R_sq_adjusted": rsq_adj,
393
393
  "omega_squared": omsq, "cohen_f": cohen_f},
394
- tukey=tukey, plots=plots)
394
+ tukey=tukey, plots=plots))
395
395
 
396
396
 
397
397
  def _anova_means_plot(yv, gv, y_name, x_name, levels, jitter_x,
@@ -611,12 +611,12 @@ def _twoway(fit, yv, fvals, y_name, facs, flevs, n_keep, d,
611
611
  x1v, np.asarray(fit.fittedvalues), x2v,
612
612
  "Fitted", f1, f2, l1, l2, d, "Fitted Values")
613
613
 
614
- return ANOVAResults(
614
+ return show_plots(ANOVAResults(
615
615
  formula=formula, design=design, n_obs=n_obs,
616
616
  n_keep=n_keep, digits_d=d, response=y_name,
617
617
  factors=[f1, f2], cell_n=cell_n,
618
618
  marginal_means={f1: m1, f2: m2}, grand_mean=grand,
619
- anova=t, effects=eff, tukey=tukey, plots=plots)
619
+ anova=t, effects=eff, tukey=tukey, plots=plots))
620
620
 
621
621
 
622
622
  def _cat_line_fig(title, x_name, y_name, levels_x, series, d,