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.
- lessPy/ANOVA.py +5 -5
- lessPy/Chart.py +386 -88
- lessPy/Correlation.py +2 -2
- lessPy/Logit.py +2 -2
- lessPy/Regression.py +6 -4
- lessPy/X.py +279 -42
- lessPy/XY.py +814 -158
- lessPy/__init__.py +12 -2
- lessPy/_themes.py +5007 -0
- lessPy/bc_items_plotly.py +31 -18
- lessPy/bc_plotly.py +23 -7
- lessPy/bubble_plotly.py +17 -2
- lessPy/corCFA.py +3 -3
- lessPy/corProp.py +2 -2
- lessPy/corReflect.py +2 -2
- lessPy/corReorder.py +2 -2
- lessPy/corScree.py +3 -3
- lessPy/data/StockPrice.csv +1401 -1386
- lessPy/details.py +17 -4
- lessPy/dn_plotly.py +65 -45
- lessPy/freq_poly_plotly.py +12 -5
- lessPy/getColors.py +247 -20
- lessPy/hier_plotly.py +36 -9
- lessPy/hs_plotly.py +16 -4
- lessPy/plotly_utils.py +78 -9
- lessPy/plt_mat_plotly.py +74 -2
- lessPy/plt_time.py +10 -3
- lessPy/prob_norm.py +3 -3
- lessPy/prob_tcut.py +3 -3
- lessPy/prob_znorm.py +3 -1
- lessPy/rcolors.py +461 -0
- lessPy/simCImean.py +3 -3
- lessPy/simCLT.py +3 -3
- lessPy/simFlips.py +3 -3
- lessPy/simMeans.py +3 -3
- lessPy/stats_out.py +257 -11
- lessPy/style.py +160 -0
- lessPy/sunflower_plotly.py +140 -0
- lessPy/ttest.py +5 -5
- lessPy/utils.py +43 -6
- lessPy/vbs_plotly.py +16 -5
- lessPy/x_console.py +763 -0
- {lesspython-0.2.0.dist-info → lesspython-0.3.0.dist-info}/METADATA +6 -2
- lesspython-0.3.0.dist-info/RECORD +89 -0
- lesspython-0.2.0.dist-info/RECORD +0 -84
- {lesspython-0.2.0.dist-info → lesspython-0.3.0.dist-info}/WHEEL +0 -0
- {lesspython-0.2.0.dist-info → lesspython-0.3.0.dist-info}/licenses/LICENSE +0 -0
- {lesspython-0.2.0.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,
|