statanim 0.1.2__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.2/statanim.egg-info → statanim-0.1.4}/PKG-INFO +5 -6
- {statanim-0.1.2 → statanim-0.1.4}/README.md +4 -5
- {statanim-0.1.2 → statanim-0.1.4}/pyproject.toml +1 -1
- {statanim-0.1.2 → statanim-0.1.4}/statanim/distributions/normal3d.py +4 -4
- {statanim-0.1.2 → statanim-0.1.4/statanim.egg-info}/PKG-INFO +5 -6
- {statanim-0.1.2 → statanim-0.1.4}/LICENSE +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/setup.cfg +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/__init__.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/animations/__init__.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/animations/clt_demo.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/animations/flip_roll.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/animations/sampling.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/animations/transitions.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/axes/__init__.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/axes/axes3d.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/axes/grid3d.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/axes/number_plane3d.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/charts/__init__.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/charts/bar_chart3d.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/charts/box_plot3d.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/charts/heat_map3d.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/charts/histogram3d.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/charts/line_plot3d.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/charts/scatter_plot3d.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/charts/violin_plot3d.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/core/__init__.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/core/base.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/core/colors.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/core/math_utils.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/core/tex_utils.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/distributions/__init__.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/distributions/base_dist.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/distributions/cdf_viz.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/distributions/continuous_dists.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/distributions/discrete_dists.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/distributions/pdf_viz.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/distributions/pmf_viz.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/inference/__init__.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/inference/confidence_interval.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/inference/error_types.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/inference/hypothesis.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/inference/sampling_dist.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/probability/__init__.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/probability/bayes.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/probability/prob_tree.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/probability/sample_space.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/probability/venn3d.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/props/__init__.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/props/card.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/props/coin.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/props/die.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/props/spinner.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/props/urn.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/regression/__init__.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/regression/correlation.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/regression/regression_plane.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/regression/residuals.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/scenes/__init__.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/scenes/demo_bayes.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/scenes/demo_clt.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/scenes/demo_distributions.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/scenes/demo_hypothesis.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/ui/__init__.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/ui/labels.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/ui/panels.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/ui/table3d.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim/ui/ticker.py +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim.egg-info/SOURCES.txt +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim.egg-info/dependency_links.txt +0 -0
- {statanim-0.1.2 → statanim-0.1.4}/statanim.egg-info/requires.txt +0 -0
- {statanim-0.1.2 → 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
|
|
@@ -40,6 +40,8 @@ Dynamic: license-file
|
|
|
40
40
|
<div align="center">
|
|
41
41
|
|
|
42
42
|
[](https://pypi.org/project/statanim/)
|
|
43
|
+
[](https://pepy.tech/projects/statanim)
|
|
44
|
+

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

|
|
8
10
|
[](https://www.python.org/downloads/)
|
|
9
11
|
[](https://www.manim.community/)
|
|
10
12
|
[](./LICENSE)
|
|
@@ -107,13 +109,10 @@ from statanim.distributions.normal3d import NormalCurve3D
|
|
|
107
109
|
|
|
108
110
|
class NormalDemo(Scene):
|
|
109
111
|
def construct(self):
|
|
110
|
-
|
|
111
|
-
x_length=8, y_length=4)
|
|
112
|
-
curve = NormalCurve3D(mu=0, sigma=1, axes=axes)
|
|
112
|
+
curve = NormalCurve3D(mu=0, sigma=1)
|
|
113
113
|
|
|
114
|
-
self.play(Create(axes))
|
|
115
114
|
self.play(Create(curve))
|
|
116
|
-
self.play(curve.shade_region(
|
|
115
|
+
self.play(FadeIn(curve.shade_region(x_lo=-1, x_hi=1)))
|
|
117
116
|
self.wait(2)
|
|
118
117
|
```
|
|
119
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
|
|
@@ -40,6 +40,8 @@ Dynamic: license-file
|
|
|
40
40
|
<div align="center">
|
|
41
41
|
|
|
42
42
|
[](https://pypi.org/project/statanim/)
|
|
43
|
+
[](https://pepy.tech/projects/statanim)
|
|
44
|
+

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