Commit graph

2052 commits

Author SHA1 Message Date
cclauss
1c3f57f456
pip install --upgrade pip 2018-09-24 08:35:34 +01:00
cclauss
ae44093565
Run free flake8 tests on all new code submissions
Fixes #284

Another attempt at #99 

Add [flake8](http://flake8.pycqa.org) tests to find Python syntax errors and undefined names.

__E901,E999,F821,F822,F823__ are the "_showstopper_" flake8 issues that can halt the runtime with a SyntaxError, NameError, etc. Most other flake8 issues are merely "style violations" -- useful for readability but they do not effect runtime safety.
* F821: undefined name `name`
* F822: undefined name `name` in `__all__`
* F823: local variable name referenced before assignment
* E901: SyntaxError or IndentationError
* E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree
2018-09-24 08:31:30 +01:00
Grant Sanderson
6964db2bd5
Merge pull request #309 from cclauss/patch-2
README.md: Ensure that Python 3 is used
2018-09-23 14:48:41 -07:00
cclauss
1928185722
README.md: Ensure that Python 3 is used 2018-09-22 06:48:21 +02:00
Grant Sanderson
3df3b6a581
Merge pull request #306 from 3b1b/quaternions
Quaternions
2018-09-20 10:40:22 -07:00
Grant Sanderson
bc024dbbbb begin quat3d animations 2018-09-20 10:39:51 -07:00
Grant Sanderson
81a906f683 Fixed ImageMobject fade bug 2018-09-20 10:39:37 -07:00
Grant Sanderson
1ca7e8ecda Fixed TextMobject bug 2018-09-20 10:39:19 -07:00
Grant Sanderson
ce47c42b15
Merge pull request #304 from 3b1b/quaternions
Quaternions
2018-09-19 10:50:58 -07:00
Grant Sanderson
c2e42c4281 Quaternion thumbnail edit 2018-09-19 10:50:18 -07:00
Grant Sanderson
ae9a92c2be Small formating 2018-09-19 10:49:59 -07:00
Grant Sanderson
736493729b
Merge pull request #303 from ishandutta2007/move_to_py3
updated some breaking scenes to python3
2018-09-19 10:23:42 -07:00
Ishan Dutta
78b14c8be8 updated some breaking scenes to python3 2018-09-19 08:53:28 +05:30
Grant Sanderson
384895b9a8
Merge pull request #289 from cclauss/patch-1
Explicit tuple required in comprehension in Python 3
2018-09-11 11:43:24 -07:00
Grant Sanderson
69013ee8b4
Merge pull request #290 from cclauss/patch-2
Fix typo in prob_dist_visuals.py
2018-09-11 11:43:02 -07:00
Grant Sanderson
865ef496c3
Merge pull request #288 from Solara570/rotate-vector-fix
Bug fix to rotate_vector
2018-09-11 11:42:44 -07:00
cclauss
ce467fabfc
Fix typo in prob_dist_visuals.py 2018-09-11 19:41:07 +02:00
cclauss
e48361a638
Update bayes.py 2018-09-11 19:24:22 +02:00
cclauss
acb362dd7f
Update bayes_footnote.py 2018-09-11 19:22:42 +02:00
cclauss
cbe641e93c
Explicit tulle required in comprehension in Python 3 2018-09-11 19:18:44 +02:00
Solara570
e344cebf16 Bug fix to rotate_vector 2018-09-11 21:33:40 +08:00
Grant Sanderson
d683a5c04b
Merge pull request #287 from 3b1b/quaternions
Quaternions
2018-09-10 11:39:04 -07:00
Grant Sanderson
fbf2f3d1fe Finishing quaternion touches 2018-09-10 11:38:41 -07:00
Grant Sanderson
cfcec9f411 Obviously vector rotation should be done with quaternion multiplication... 2018-09-10 11:38:01 -07:00
Grant Sanderson
728c025f6f Make sure add_fixed_in_frame_mobjects adds mobjects to scene 2018-09-10 11:37:32 -07:00
Grant Sanderson
1ce9ce99aa
Merge pull request #285 from DanWaxman/master
Added the option to change color in extract scene.
2018-09-10 11:36:43 -07:00
Dan Waxman
314649c96f Added the option to change color in extract scene.
This edits the camera config in the same way as the resolution argument or transparency flag. Inputs can either be strings, 3 digit hex strings, or 6 digit hex strings. In a Unix terminal the hex strings will have to be prepended with a '\'.
2018-09-08 12:57:33 -04:00
Grant Sanderson
af7d4a3cb9
Merge pull request #282 from 3b1b/quaternions
Final tweaks to quaternion animations...I hope
2018-09-05 15:24:30 -07:00
Grant Sanderson
b18537b1bb Final tweaks to quaternion animations...I hope 2018-09-05 15:24:02 -07:00
Grant Sanderson
ae8ccffe71
Merge pull request #280 from 3b1b/quaternions
Quaternions
2018-09-04 16:15:18 -07:00
Grant Sanderson
a1e21a4606 Added QuaternionHistory Scene 2018-09-04 16:14:54 -07:00
Grant Sanderson
5b9ae8ddb3 Fixed flashing 3d dot problem 2018-09-04 16:14:39 -07:00
Grant Sanderson
405d566aa9 Bug fix to svg reading 2018-09-04 16:14:11 -07:00
Grant Sanderson
e967e472f3 Quaternion animations up to Patron draft 2018-09-02 21:56:10 -07:00
Grant Sanderson
6c590b6de4 Fixed Endscreen 2018-09-02 21:55:53 -07:00
Grant Sanderson
a102cc2cea Cube rotations, intro scenes and more 2018-08-30 14:25:30 -07:00
Grant Sanderson
acf23a5e9d Cube rotations, intro scenes and more 2018-08-30 14:25:21 -07:00
Grant Sanderson
1b0056f05d Make sure normalize can take in a list 2018-08-30 14:24:57 -07:00
Grant Sanderson
289d822a92 Tiny bug fix 2018-08-30 14:24:40 -07:00
Grant Sanderson
9a85754014 Better Mobject.become 2018-08-30 14:24:25 -07:00
Grant Sanderson
cab3b1b3c6 Reverse arrow rectangle orientation 2018-08-30 14:24:05 -07:00
Grant Sanderson
5782c13813 Back to old way of z-indexing 2018-08-30 14:23:48 -07:00
Grant Sanderson
8a1f121207 Don't even try to display points with nan or infinity 2018-08-30 14:23:26 -07:00
Grant Sanderson
e0d6bd5449 Up to partial progress on HypersphereStereographicProjection 2018-08-29 00:10:14 -07:00
Grant Sanderson
6b7ca78ad5 Make fall back value in normalize an optional thing 2018-08-29 00:09:57 -07:00
Grant Sanderson
7736e321a0 + for 0 in Decimal number 2018-08-29 00:09:34 -07:00
Grant Sanderson
0d95fe7234 Change where z-sorting happens in 3d camera 2018-08-29 00:09:09 -07:00
Grant Sanderson
bfa37e251f Got rid of ValueTracker special cases in camera 2018-08-29 00:08:46 -07:00
Grant Sanderson
5e06869caf Small fix to AnimationOnSurroundingRectangle 2018-08-29 00:08:25 -07:00
Grant Sanderson
8e163a7bcb Finished(?) 3d stereographic projection animations 2018-08-28 09:45:57 -07:00