statanim 0.1.3__tar.gz → 0.1.4__tar.gz
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.
- {statanim-0.1.3/statanim.egg-info → statanim-0.1.4}/PKG-INFO +4 -6
- {statanim-0.1.3 → statanim-0.1.4}/README.md +3 -5
- {statanim-0.1.3 → statanim-0.1.4}/pyproject.toml +1 -1
- {statanim-0.1.3 → statanim-0.1.4}/statanim/distributions/normal3d.py +4 -4
- {statanim-0.1.3 → statanim-0.1.4/statanim.egg-info}/PKG-INFO +4 -6
- {statanim-0.1.3 → statanim-0.1.4}/LICENSE +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/setup.cfg +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/__init__.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/animations/__init__.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/animations/clt_demo.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/animations/flip_roll.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/animations/sampling.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/animations/transitions.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/axes/__init__.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/axes/axes3d.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/axes/grid3d.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/axes/number_plane3d.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/charts/__init__.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/charts/bar_chart3d.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/charts/box_plot3d.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/charts/heat_map3d.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/charts/histogram3d.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/charts/line_plot3d.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/charts/scatter_plot3d.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/charts/violin_plot3d.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/core/__init__.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/core/base.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/core/colors.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/core/math_utils.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/core/tex_utils.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/distributions/__init__.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/distributions/base_dist.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/distributions/cdf_viz.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/distributions/continuous_dists.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/distributions/discrete_dists.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/distributions/pdf_viz.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/distributions/pmf_viz.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/inference/__init__.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/inference/confidence_interval.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/inference/error_types.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/inference/hypothesis.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/inference/sampling_dist.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/probability/__init__.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/probability/bayes.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/probability/prob_tree.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/probability/sample_space.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/probability/venn3d.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/props/__init__.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/props/card.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/props/coin.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/props/die.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/props/spinner.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/props/urn.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/regression/__init__.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/regression/correlation.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/regression/regression_plane.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/regression/residuals.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/scenes/__init__.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/scenes/demo_bayes.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/scenes/demo_clt.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/scenes/demo_distributions.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/scenes/demo_hypothesis.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/ui/__init__.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/ui/labels.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/ui/panels.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/ui/table3d.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim/ui/ticker.py +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim.egg-info/SOURCES.txt +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim.egg-info/dependency_links.txt +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim.egg-info/requires.txt +0 -0
- {statanim-0.1.3 → statanim-0.1.4}/statanim.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: statanim
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: A Manim extension for animated statistical visualisations — distributions, regression, probability, inference and more.
|
|
5
5
|
Author-email: Rishabh Bhartiya <rishabh.bhartiya.in@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -41,6 +41,7 @@ Dynamic: license-file
|
|
|
41
41
|
|
|
42
42
|
[](https://pypi.org/project/statanim/)
|
|
43
43
|
[](https://pepy.tech/projects/statanim)
|
|
44
|
+

|
|
44
45
|
[](https://www.python.org/downloads/)
|
|
45
46
|
[](https://www.manim.community/)
|
|
46
47
|
[](./LICENSE)
|
|
@@ -143,13 +144,10 @@ from statanim.distributions.normal3d import NormalCurve3D
|
|
|
143
144
|
|
|
144
145
|
class NormalDemo(Scene):
|
|
145
146
|
def construct(self):
|
|
146
|
-
|
|
147
|
-
x_length=8, y_length=4)
|
|
148
|
-
curve = NormalCurve3D(mu=0, sigma=1, axes=axes)
|
|
147
|
+
curve = NormalCurve3D(mu=0, sigma=1)
|
|
149
148
|
|
|
150
|
-
self.play(Create(axes))
|
|
151
149
|
self.play(Create(curve))
|
|
152
|
-
self.play(curve.shade_region(
|
|
150
|
+
self.play(FadeIn(curve.shade_region(x_lo=-1, x_hi=1)))
|
|
153
151
|
self.wait(2)
|
|
154
152
|
```
|
|
155
153
|
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
[](https://pypi.org/project/statanim/)
|
|
8
8
|
[](https://pepy.tech/projects/statanim)
|
|
9
|
+

|
|
9
10
|
[](https://www.python.org/downloads/)
|
|
10
11
|
[](https://www.manim.community/)
|
|
11
12
|
[](./LICENSE)
|
|
@@ -108,13 +109,10 @@ from statanim.distributions.normal3d import NormalCurve3D
|
|
|
108
109
|
|
|
109
110
|
class NormalDemo(Scene):
|
|
110
111
|
def construct(self):
|
|
111
|
-
|
|
112
|
-
x_length=8, y_length=4)
|
|
113
|
-
curve = NormalCurve3D(mu=0, sigma=1, axes=axes)
|
|
112
|
+
curve = NormalCurve3D(mu=0, sigma=1)
|
|
114
113
|
|
|
115
|
-
self.play(Create(axes))
|
|
116
114
|
self.play(Create(curve))
|
|
117
|
-
self.play(curve.shade_region(
|
|
115
|
+
self.play(FadeIn(curve.shade_region(x_lo=-1, x_hi=1)))
|
|
118
116
|
self.wait(2)
|
|
119
117
|
```
|
|
120
118
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "statanim"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.4"
|
|
8
8
|
description = "A Manim extension for animated statistical visualisations — distributions, regression, probability, inference and more."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
@@ -733,8 +733,8 @@ class NormalCurve3D(VGroup):
|
|
|
733
733
|
|
|
734
734
|
def shade_region(
|
|
735
735
|
self,
|
|
736
|
-
|
|
737
|
-
|
|
736
|
+
x_min: float,
|
|
737
|
+
x_max: float,
|
|
738
738
|
color: ManimColor = ManimColor("#E8593C"),
|
|
739
739
|
label: bool = True,
|
|
740
740
|
scene: Optional[ThreeDScene] = None,
|
|
@@ -743,8 +743,8 @@ class NormalCurve3D(VGroup):
|
|
|
743
743
|
|
|
744
744
|
Computes P(x_lo ≤ X ≤ x_hi) analytically.
|
|
745
745
|
"""
|
|
746
|
-
lo = max(
|
|
747
|
-
hi = min(
|
|
746
|
+
lo = max(x_min, self._x_min - self.x_pos)
|
|
747
|
+
hi = min(x_max, self._x_max - self.x_pos)
|
|
748
748
|
mask = (self._xs >= lo + self.x_pos) & (self._xs <= hi + self.x_pos)
|
|
749
749
|
xs_r = self._xs[mask]
|
|
750
750
|
ys_r = self._ys[mask]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: statanim
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: A Manim extension for animated statistical visualisations — distributions, regression, probability, inference and more.
|
|
5
5
|
Author-email: Rishabh Bhartiya <rishabh.bhartiya.in@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -41,6 +41,7 @@ Dynamic: license-file
|
|
|
41
41
|
|
|
42
42
|
[](https://pypi.org/project/statanim/)
|
|
43
43
|
[](https://pepy.tech/projects/statanim)
|
|
44
|
+

|
|
44
45
|
[](https://www.python.org/downloads/)
|
|
45
46
|
[](https://www.manim.community/)
|
|
46
47
|
[](./LICENSE)
|
|
@@ -143,13 +144,10 @@ from statanim.distributions.normal3d import NormalCurve3D
|
|
|
143
144
|
|
|
144
145
|
class NormalDemo(Scene):
|
|
145
146
|
def construct(self):
|
|
146
|
-
|
|
147
|
-
x_length=8, y_length=4)
|
|
148
|
-
curve = NormalCurve3D(mu=0, sigma=1, axes=axes)
|
|
147
|
+
curve = NormalCurve3D(mu=0, sigma=1)
|
|
149
148
|
|
|
150
|
-
self.play(Create(axes))
|
|
151
149
|
self.play(Create(curve))
|
|
152
|
-
self.play(curve.shade_region(
|
|
150
|
+
self.play(FadeIn(curve.shade_region(x_lo=-1, x_hi=1)))
|
|
153
151
|
self.wait(2)
|
|
154
152
|
```
|
|
155
153
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|