diplotocus 0.3.6__tar.gz → 0.4.2__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.
Files changed (118) hide show
  1. {diplotocus-0.3.6 → diplotocus-0.4.2}/PKG-INFO +1 -1
  2. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/requirements.txt +2 -1
  3. diplotocus-0.4.2/docs/source/_static/logo.mp4 +0 -0
  4. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/source/conf.py +4 -2
  5. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/source/index.rst +4 -2
  6. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/source/notebooks/animations.ipynb +117 -39
  7. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/source/notebooks/easings.ipynb +36 -36
  8. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/source/notebooks/plot_objects.ipynb +2 -0
  9. diplotocus-0.4.2/src/diplotocus/_version.py +1 -0
  10. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/animations.py +169 -26
  11. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus.egg-info/PKG-INFO +1 -1
  12. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus.egg-info/SOURCES.txt +0 -47
  13. diplotocus-0.3.6/docs/source/_static/anim_draw.mp4 +0 -0
  14. diplotocus-0.3.6/docs/source/_static/anim_morph.mp4 +0 -0
  15. diplotocus-0.3.6/docs/source/_static/anim_rotate.mp4 +0 -0
  16. diplotocus-0.3.6/docs/source/_static/anim_scale.mp4 +0 -0
  17. diplotocus-0.3.6/docs/source/_static/anim_sequence.mp4 +0 -0
  18. diplotocus-0.3.6/docs/source/_static/anim_translate.mp4 +0 -0
  19. diplotocus-0.3.6/docs/source/_static/anim_tween.mp4 +0 -0
  20. diplotocus-0.3.6/docs/source/_static/axis_alpha.mp4 +0 -0
  21. diplotocus-0.3.6/docs/source/_static/axis_limits.mp4 +0 -0
  22. diplotocus-0.3.6/docs/source/_static/axis_move.mp4 +0 -0
  23. diplotocus-0.3.6/docs/source/_static/axis_zoom.mp4 +0 -0
  24. diplotocus-0.3.6/docs/source/_static/cubicBezier.mp4 +0 -0
  25. diplotocus-0.3.6/docs/source/_static/customEase.mp4 +0 -0
  26. diplotocus-0.3.6/docs/source/_static/easeInBack.mp4 +0 -0
  27. diplotocus-0.3.6/docs/source/_static/easeInBounce.mp4 +0 -0
  28. diplotocus-0.3.6/docs/source/_static/easeInCirc.mp4 +0 -0
  29. diplotocus-0.3.6/docs/source/_static/easeInCubic.mp4 +0 -0
  30. diplotocus-0.3.6/docs/source/_static/easeInElastic.mp4 +0 -0
  31. diplotocus-0.3.6/docs/source/_static/easeInExpo.mp4 +0 -0
  32. diplotocus-0.3.6/docs/source/_static/easeInOutBack.mp4 +0 -0
  33. diplotocus-0.3.6/docs/source/_static/easeInOutBounce.mp4 +0 -0
  34. diplotocus-0.3.6/docs/source/_static/easeInOutCirc.mp4 +0 -0
  35. diplotocus-0.3.6/docs/source/_static/easeInOutCubic.mp4 +0 -0
  36. diplotocus-0.3.6/docs/source/_static/easeInOutElastic.mp4 +0 -0
  37. diplotocus-0.3.6/docs/source/_static/easeInOutExpo.mp4 +0 -0
  38. diplotocus-0.3.6/docs/source/_static/easeInOutQuad.mp4 +0 -0
  39. diplotocus-0.3.6/docs/source/_static/easeInOutQuart.mp4 +0 -0
  40. diplotocus-0.3.6/docs/source/_static/easeInOutQuint.mp4 +0 -0
  41. diplotocus-0.3.6/docs/source/_static/easeInOutSine.mp4 +0 -0
  42. diplotocus-0.3.6/docs/source/_static/easeInQuad.mp4 +0 -0
  43. diplotocus-0.3.6/docs/source/_static/easeInQuart.mp4 +0 -0
  44. diplotocus-0.3.6/docs/source/_static/easeInQuint.mp4 +0 -0
  45. diplotocus-0.3.6/docs/source/_static/easeInSine.mp4 +0 -0
  46. diplotocus-0.3.6/docs/source/_static/easeLinear.mp4 +0 -0
  47. diplotocus-0.3.6/docs/source/_static/easeOutBack.mp4 +0 -0
  48. diplotocus-0.3.6/docs/source/_static/easeOutBounce.mp4 +0 -0
  49. diplotocus-0.3.6/docs/source/_static/easeOutCirc.mp4 +0 -0
  50. diplotocus-0.3.6/docs/source/_static/easeOutCubic.mp4 +0 -0
  51. diplotocus-0.3.6/docs/source/_static/easeOutElastic.mp4 +0 -0
  52. diplotocus-0.3.6/docs/source/_static/easeOutExpo.mp4 +0 -0
  53. diplotocus-0.3.6/docs/source/_static/easeOutQuad.mp4 +0 -0
  54. diplotocus-0.3.6/docs/source/_static/easeOutQuart.mp4 +0 -0
  55. diplotocus-0.3.6/docs/source/_static/easeOutQuint.mp4 +0 -0
  56. diplotocus-0.3.6/docs/source/_static/easeOutSine.mp4 +0 -0
  57. diplotocus-0.3.6/docs/source/_static/fig_height_ratio.mp4 +0 -0
  58. diplotocus-0.3.6/docs/source/_static/fig_width_ratio.mp4 +0 -0
  59. diplotocus-0.3.6/docs/source/_static/logo.mp4 +0 -0
  60. diplotocus-0.3.6/docs/source/notebooks/logo.ipynb +0 -132
  61. diplotocus-0.3.6/src/diplotocus/_version.py +0 -1
  62. {diplotocus-0.3.6 → diplotocus-0.4.2}/.gitattributes +0 -0
  63. {diplotocus-0.3.6 → diplotocus-0.4.2}/.gitignore +0 -0
  64. {diplotocus-0.3.6 → diplotocus-0.4.2}/.readthedocs.yaml +0 -0
  65. {diplotocus-0.3.6 → diplotocus-0.4.2}/LICENSE +0 -0
  66. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/Makefile +0 -0
  67. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/_static/force-light.css +0 -0
  68. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/_static/force-light.js +0 -0
  69. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/make.bat +0 -0
  70. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/source/_static/Web_GUI.png +0 -0
  71. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/source/_static/button.svg +0 -0
  72. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/source/_static/demo.mp4 +0 -0
  73. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/source/_static/favicon.ico +0 -0
  74. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/source/_static/force-light.css +0 -0
  75. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/source/_static/force-light.js +0 -0
  76. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/source/_static/logo.svg +0 -0
  77. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/source/api/core.rst +0 -0
  78. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/source/api/index.rst +0 -0
  79. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/source/notebooks/GUI.ipynb +0 -0
  80. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/source/notebooks/index.ipynb +0 -0
  81. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/source/notebooks/installation.ipynb +0 -0
  82. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/source/notebooks/quick-start.ipynb +0 -0
  83. {diplotocus-0.3.6 → diplotocus-0.4.2}/docs/source/notebooks/timeline.ipynb +0 -0
  84. {diplotocus-0.3.6 → diplotocus-0.4.2}/logo.png +0 -0
  85. {diplotocus-0.3.6 → diplotocus-0.4.2}/pyproject.toml +0 -0
  86. {diplotocus-0.3.6 → diplotocus-0.4.2}/readme.md +0 -0
  87. {diplotocus-0.3.6 → diplotocus-0.4.2}/setup.cfg +0 -0
  88. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/GUI/GUI.html +0 -0
  89. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/GUI/__init__.py +0 -0
  90. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/GUI/app.js +0 -0
  91. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/GUI/server.py +0 -0
  92. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/GUI/src/bg.png +0 -0
  93. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/GUI/src/btn/btn_bg_Draw.png +0 -0
  94. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/GUI/src/btn/btn_bg_Morph.png +0 -0
  95. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/GUI/src/btn/btn_bg_Rotate.png +0 -0
  96. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/GUI/src/btn/btn_bg_Scale.png +0 -0
  97. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/GUI/src/btn/btn_bg_Sequence.png +0 -0
  98. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/GUI/src/btn/btn_bg_Translate.png +0 -0
  99. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/GUI/src/btn/btn_bg_Tween.png +0 -0
  100. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/GUI/src/btn/btn_bg_default.png +0 -0
  101. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/GUI/src/favicon.ico +0 -0
  102. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/GUI/src/logo_bg.png +0 -0
  103. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/GUI/style.css +0 -0
  104. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/__init__.py +0 -0
  105. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/core.py +0 -0
  106. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus/easings.py +0 -0
  107. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus.egg-info/dependency_links.txt +0 -0
  108. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus.egg-info/requires.txt +0 -0
  109. {diplotocus-0.3.6 → diplotocus-0.4.2}/src/diplotocus.egg-info/top_level.txt +0 -0
  110. {diplotocus-0.3.6 → diplotocus-0.4.2}/tests/test.py +0 -0
  111. {diplotocus-0.3.6 → diplotocus-0.4.2}/tests/test10.py +0 -0
  112. {diplotocus-0.3.6 → diplotocus-0.4.2}/tests/test2.py +0 -0
  113. {diplotocus-0.3.6 → diplotocus-0.4.2}/tests/test3.py +0 -0
  114. {diplotocus-0.3.6 → diplotocus-0.4.2}/tests/test4.py +0 -0
  115. {diplotocus-0.3.6 → diplotocus-0.4.2}/tests/test5.py +0 -0
  116. {diplotocus-0.3.6 → diplotocus-0.4.2}/tests/test6.py +0 -0
  117. {diplotocus-0.3.6 → diplotocus-0.4.2}/tests/test7.py +0 -0
  118. {diplotocus-0.3.6 → diplotocus-0.4.2}/tests/test8.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: diplotocus
3
- Version: 0.3.6
3
+ Version: 0.4.2
4
4
  Summary: A python package to generate animations of matplotlib objects.
5
5
  Author-email: Tristan Boin <tristan.boin@obspm.fr>
6
6
  License-Expression: MIT
@@ -5,4 +5,5 @@ sphinx-autodoc-typehints
5
5
  matplotlib
6
6
  numpy
7
7
  svgpath2mpl
8
- sphinx-copybutton
8
+ sphinx-copybutton
9
+ sphinx_design
@@ -52,7 +52,8 @@ extensions = [
52
52
  "sphinx.ext.linkcode",
53
53
  "sphinx.ext.intersphinx",
54
54
  "sphinx_autodoc_typehints",
55
- "sphinx_copybutton"
55
+ "sphinx_copybutton",
56
+ "sphinx_design"
56
57
  ]
57
58
 
58
59
  intersphinx_mapping = {
@@ -65,7 +66,7 @@ myst_all_links_external = True
65
66
  templates_path = ['_templates']
66
67
  # exclude specific generated/unused notebooks to avoid spurious warnings
67
68
  exclude_patterns = [
68
- 'notebooks/logo.ipynb','notebooks/index.ipynb'
69
+ 'notebooks/index.ipynb'
69
70
  ]
70
71
 
71
72
  html_favicon = "_static/favicon.ico"
@@ -93,6 +94,7 @@ html_js_files = [
93
94
  myst_enable_extensions = [
94
95
  "html_image",
95
96
  "dollarmath",
97
+ "colon_fence"
96
98
  ]
97
99
 
98
100
  nb_execution_allow_errors = True
@@ -59,9 +59,10 @@ Here's a quick example of the syntax of diplotocus:
59
59
 
60
60
  .. image:: _static/Web_GUI.png
61
61
  :width: 700
62
- :target: notebooks/GUI
62
+ :target: notebooks/GUI.html
63
63
 
64
64
  Get started by :doc:`Installing Diplotocus <notebooks/installation>`, and follow the :doc:`Quick-Start guide <notebooks/quick-start>`.
65
+ For examples, see the :doc:`Examples <notebooks/examples>` page.
65
66
 
66
67
  .. toctree::
67
68
  :maxdepth: 2
@@ -71,7 +72,7 @@ Get started by :doc:`Installing Diplotocus <notebooks/installation>`, and follow
71
72
  notebooks/quick-start
72
73
 
73
74
  .. toctree::
74
- :maxdepth: 3
75
+ :maxdepth: 2
75
76
  :caption: Library reference
76
77
 
77
78
  notebooks/timeline
@@ -80,6 +81,7 @@ Get started by :doc:`Installing Diplotocus <notebooks/installation>`, and follow
80
81
  notebooks/easings
81
82
  notebooks/projects
82
83
  notebooks/GUI
84
+ notebooks/examples
83
85
 
84
86
  .. toctree::
85
87
  :maxdepth: 2
@@ -60,7 +60,7 @@
60
60
  {
61
61
  "data": {
62
62
  "text/markdown": [
63
- "Saved video ../_static/anim_translate.mp4"
63
+ "Saved video ../_static/animations/anim_translate.mp4"
64
64
  ],
65
65
  "text/plain": [
66
66
  "<IPython.core.display.Markdown object>"
@@ -74,7 +74,7 @@
74
74
  "text/html": [
75
75
  "\n",
76
76
  " <video width=\"640\" height=\"360\" autoplay loop muted playsinline>\n",
77
- " <source src=\"../_static/anim_translate.mp4?randId=449\" type=\"video/mp4\">\n",
77
+ " <source src=\"../_static/animations/anim_translate.mp4?randId=449\" type=\"video/mp4\">\n",
78
78
  " </video>\n",
79
79
  " "
80
80
  ],
@@ -98,7 +98,7 @@
98
98
  "p.translate(start_pos=(0,0),end_pos=(1,1),duration=60)\n",
99
99
  "\n",
100
100
  "tl.animate(p)\n",
101
- "tl.save_video('../_static/anim_translate.mp4')"
101
+ "tl.save_video('../_static/animations/anim_translate.mp4')"
102
102
  ]
103
103
  },
104
104
  {
@@ -137,7 +137,7 @@
137
137
  {
138
138
  "data": {
139
139
  "text/markdown": [
140
- "Saved video ../_static/anim_rotate.mp4"
140
+ "Saved video ../_static/animations/anim_rotate.mp4"
141
141
  ],
142
142
  "text/plain": [
143
143
  "<IPython.core.display.Markdown object>"
@@ -151,7 +151,7 @@
151
151
  "text/html": [
152
152
  "\n",
153
153
  " <video width=\"640\" height=\"360\" autoplay loop muted playsinline>\n",
154
- " <source src=\"../_static/anim_rotate.mp4?randId=1017\" type=\"video/mp4\">\n",
154
+ " <source src=\"../_static/animations/anim_rotate.mp4?randId=1017\" type=\"video/mp4\">\n",
155
155
  " </video>\n",
156
156
  " "
157
157
  ],
@@ -175,7 +175,7 @@
175
175
  "p.rotate(start_angle=20,end_angle=110,duration=60)\n",
176
176
  "\n",
177
177
  "tl.animate(p)\n",
178
- "tl.save_video('../_static/anim_rotate.mp4')"
178
+ "tl.save_video('../_static/animations/anim_rotate.mp4')"
179
179
  ]
180
180
  },
181
181
  {
@@ -214,7 +214,7 @@
214
214
  {
215
215
  "data": {
216
216
  "text/markdown": [
217
- "Saved video ../_static/anim_scale.mp4"
217
+ "Saved video ../_static/animations/anim_scale.mp4"
218
218
  ],
219
219
  "text/plain": [
220
220
  "<IPython.core.display.Markdown object>"
@@ -228,7 +228,7 @@
228
228
  "text/html": [
229
229
  "\n",
230
230
  " <video width=\"640\" height=\"360\" autoplay loop muted playsinline>\n",
231
- " <source src=\"../_static/anim_scale.mp4?randId=2110\" type=\"video/mp4\">\n",
231
+ " <source src=\"../_static/animations/anim_scale.mp4?randId=2110\" type=\"video/mp4\">\n",
232
232
  " </video>\n",
233
233
  " "
234
234
  ],
@@ -252,7 +252,7 @@
252
252
  "p.scale(start_scale=(0,1),end_scale=(2,0),duration=60)\n",
253
253
  "\n",
254
254
  "tl.animate(p)\n",
255
- "tl.save_video('../_static/anim_scale.mp4')"
255
+ "tl.save_video('../_static/animations/anim_scale.mp4')"
256
256
  ]
257
257
  },
258
258
  {
@@ -303,7 +303,7 @@
303
303
  {
304
304
  "data": {
305
305
  "text/markdown": [
306
- "Saved video ../_static/anim_tween.mp4"
306
+ "Saved video ../_static/animations/anim_tween.mp4"
307
307
  ],
308
308
  "text/plain": [
309
309
  "<IPython.core.display.Markdown object>"
@@ -317,7 +317,7 @@
317
317
  "text/html": [
318
318
  "\n",
319
319
  " <video width=\"640\" height=\"360\" autoplay loop muted playsinline>\n",
320
- " <source src=\"../_static/anim_tween.mp4?randId=9568\" type=\"video/mp4\">\n",
320
+ " <source src=\"../_static/animations/anim_tween.mp4?randId=9568\" type=\"video/mp4\">\n",
321
321
  " </video>\n",
322
322
  " "
323
323
  ],
@@ -341,7 +341,85 @@
341
341
  "p.tween(property='c',start='red',end='green',duration=60)\n",
342
342
  "\n",
343
343
  "tl.animate(p)\n",
344
- "tl.save_video('../_static/anim_tween.mp4')"
344
+ "tl.save_video('../_static/animations/anim_tween.mp4')"
345
+ ]
346
+ },
347
+ {
348
+ "cell_type": "markdown",
349
+ "id": "e0ff28d9",
350
+ "metadata": {},
351
+ "source": [
352
+ "### Math\n",
353
+ "\n",
354
+ "```{eval-rst}\n",
355
+ ".. automethod:: diplotocus.animations.plotObject.math\n",
356
+ " :noindex:\n",
357
+ "```"
358
+ ]
359
+ },
360
+ {
361
+ "cell_type": "code",
362
+ "execution_count": 4,
363
+ "id": "80466fb9",
364
+ "metadata": {},
365
+ "outputs": [
366
+ {
367
+ "data": {
368
+ "application/vnd.jupyter.widget-view+json": {
369
+ "model_id": "fb4cddf752e64c119b865c846a9b4041",
370
+ "version_major": 2,
371
+ "version_minor": 0
372
+ },
373
+ "text/plain": [
374
+ " 0%| | 0/60 [00:00<?, ?it/s]"
375
+ ]
376
+ },
377
+ "metadata": {},
378
+ "output_type": "display_data"
379
+ },
380
+ {
381
+ "data": {
382
+ "text/markdown": [
383
+ "Saved video ../_static/animations/anim_math.mp4"
384
+ ],
385
+ "text/plain": [
386
+ "<IPython.core.display.Markdown object>"
387
+ ]
388
+ },
389
+ "metadata": {},
390
+ "output_type": "display_data"
391
+ },
392
+ {
393
+ "data": {
394
+ "text/html": [
395
+ "\n",
396
+ " <video width=\"640\" height=\"360\" autoplay loop muted playsinline>\n",
397
+ " <source src=\"../_static/animations/anim_math.mp4?randId=508\" type=\"video/mp4\">\n",
398
+ " </video>\n",
399
+ " "
400
+ ],
401
+ "text/plain": [
402
+ "<IPython.core.display.HTML object>"
403
+ ]
404
+ },
405
+ "metadata": {},
406
+ "output_type": "display_data"
407
+ }
408
+ ],
409
+ "source": [
410
+ "import diplotocus as dpl\n",
411
+ "import numpy as np\n",
412
+ "\n",
413
+ "x = [-1,1,0,-1]\n",
414
+ "y = [-1,-1,1,-1]\n",
415
+ "\n",
416
+ "tl = dpl.Timeline(xlim=(-2.5,2.5),ylim=(-2,2))\n",
417
+ "\n",
418
+ "p = dpl.plot(x=x,y=y)\n",
419
+ "p.math(property='lw',func=lambda t:np.cos(t*6*np.pi)*20+3,duration=60)\n",
420
+ "\n",
421
+ "tl.animate(p)\n",
422
+ "tl.save_video('../_static/animations/anim_math.mp4')"
345
423
  ]
346
424
  },
347
425
  {
@@ -380,7 +458,7 @@
380
458
  {
381
459
  "data": {
382
460
  "text/markdown": [
383
- "Saved video ../_static/anim_morph.mp4"
461
+ "Saved video ../_static/animations/anim_morph.mp4"
384
462
  ],
385
463
  "text/plain": [
386
464
  "<IPython.core.display.Markdown object>"
@@ -394,7 +472,7 @@
394
472
  "text/html": [
395
473
  "\n",
396
474
  " <video width=\"640\" height=\"360\" autoplay loop muted playsinline>\n",
397
- " <source src=\"../_static/anim_morph.mp4?randId=1825\" type=\"video/mp4\">\n",
475
+ " <source src=\"../_static/animations/anim_morph.mp4?randId=1825\" type=\"video/mp4\">\n",
398
476
  " </video>\n",
399
477
  " "
400
478
  ],
@@ -422,7 +500,7 @@
422
500
  "p.morph(new_x=x2,new_y=y2,duration=60)\n",
423
501
  "\n",
424
502
  "tl.animate(p)\n",
425
- "tl.save_video('../_static/anim_morph.mp4')"
503
+ "tl.save_video('../_static/animations/anim_morph.mp4')"
426
504
  ]
427
505
  },
428
506
  {
@@ -461,7 +539,7 @@
461
539
  {
462
540
  "data": {
463
541
  "text/markdown": [
464
- "Saved video ../_static/anim_draw.mp4"
542
+ "Saved video ../_static/animations/anim_draw.mp4"
465
543
  ],
466
544
  "text/plain": [
467
545
  "<IPython.core.display.Markdown object>"
@@ -475,7 +553,7 @@
475
553
  "text/html": [
476
554
  "\n",
477
555
  " <video width=\"640\" height=\"360\" autoplay loop muted playsinline>\n",
478
- " <source src=\"../_static/anim_draw.mp4?randId=6085\" type=\"video/mp4\">\n",
556
+ " <source src=\"../_static/animations/anim_draw.mp4?randId=6085\" type=\"video/mp4\">\n",
479
557
  " </video>\n",
480
558
  " "
481
559
  ],
@@ -500,7 +578,7 @@
500
578
  "p.draw(duration=60)\n",
501
579
  "\n",
502
580
  "tl.animate(p)\n",
503
- "tl.save_video('../_static/anim_draw.mp4')"
581
+ "tl.save_video('../_static/animations/anim_draw.mp4')"
504
582
  ]
505
583
  },
506
584
  {
@@ -539,7 +617,7 @@
539
617
  {
540
618
  "data": {
541
619
  "text/markdown": [
542
- "Saved video ../_static/anim_sequence.mp4"
620
+ "Saved video ../_static/animations/anim_sequence.mp4"
543
621
  ],
544
622
  "text/plain": [
545
623
  "<IPython.core.display.Markdown object>"
@@ -553,7 +631,7 @@
553
631
  "text/html": [
554
632
  "\n",
555
633
  " <video width=\"640\" height=\"360\" autoplay loop muted playsinline>\n",
556
- " <source src=\"../_static/anim_sequence.mp4?randId=1390\" type=\"video/mp4\">\n",
634
+ " <source src=\"../_static/animations/anim_sequence.mp4?randId=1390\" type=\"video/mp4\">\n",
557
635
  " </video>\n",
558
636
  " "
559
637
  ],
@@ -580,7 +658,7 @@
580
658
  "p.sequence(duration=50)\n",
581
659
  "\n",
582
660
  "tl.animate(p)\n",
583
- "tl.save_video('../_static/anim_sequence.mp4')"
661
+ "tl.save_video('../_static/animations/anim_sequence.mp4')"
584
662
  ]
585
663
  },
586
664
  {
@@ -621,7 +699,7 @@
621
699
  {
622
700
  "data": {
623
701
  "text/markdown": [
624
- "Saved video ../_static/axis_zoom.mp4"
702
+ "Saved video ../_static/animations/axis_zoom.mp4"
625
703
  ],
626
704
  "text/plain": [
627
705
  "<IPython.core.display.Markdown object>"
@@ -635,7 +713,7 @@
635
713
  "text/html": [
636
714
  "\n",
637
715
  " <video width=\"640\" height=\"360\" autoplay loop muted playsinline>\n",
638
- " <source src=\"../_static/axis_zoom.mp4?randId=9285\" type=\"video/mp4\">\n",
716
+ " <source src=\"../_static/animations/axis_zoom.mp4?randId=9285\" type=\"video/mp4\">\n",
639
717
  " </video>\n",
640
718
  " "
641
719
  ],
@@ -659,7 +737,7 @@
659
737
  "a = dpl.axis_zoom(zoom=2,duration=60)\n",
660
738
  "\n",
661
739
  "tl.animate(a)\n",
662
- "tl.save_video('../_static/axis_zoom.mp4')"
740
+ "tl.save_video('../_static/animations/axis_zoom.mp4')"
663
741
  ]
664
742
  },
665
743
  {
@@ -698,7 +776,7 @@
698
776
  {
699
777
  "data": {
700
778
  "text/markdown": [
701
- "Saved video ../_static/axis_limits.mp4"
779
+ "Saved video ../_static/animations/axis_limits.mp4"
702
780
  ],
703
781
  "text/plain": [
704
782
  "<IPython.core.display.Markdown object>"
@@ -712,7 +790,7 @@
712
790
  "text/html": [
713
791
  "\n",
714
792
  " <video width=\"640\" height=\"360\" autoplay loop muted playsinline>\n",
715
- " <source src=\"../_static/axis_limits.mp4?randId=2059\" type=\"video/mp4\">\n",
793
+ " <source src=\"../_static/animations/axis_limits.mp4?randId=2059\" type=\"video/mp4\">\n",
716
794
  " </video>\n",
717
795
  " "
718
796
  ],
@@ -736,7 +814,7 @@
736
814
  "a = dpl.axis_limits(xlim=(-5,5),ylim=(-1,1),duration=60)\n",
737
815
  "\n",
738
816
  "tl.animate(a)\n",
739
- "tl.save_video('../_static/axis_limits.mp4')"
817
+ "tl.save_video('../_static/animations/axis_limits.mp4')"
740
818
  ]
741
819
  },
742
820
  {
@@ -775,7 +853,7 @@
775
853
  {
776
854
  "data": {
777
855
  "text/markdown": [
778
- "Saved video ../_static/axis_move.mp4"
856
+ "Saved video ../_static/animations/axis_move.mp4"
779
857
  ],
780
858
  "text/plain": [
781
859
  "<IPython.core.display.Markdown object>"
@@ -789,7 +867,7 @@
789
867
  "text/html": [
790
868
  "\n",
791
869
  " <video width=\"640\" height=\"360\" autoplay loop muted playsinline>\n",
792
- " <source src=\"../_static/axis_move.mp4?randId=7288\" type=\"video/mp4\">\n",
870
+ " <source src=\"../_static/animations/axis_move.mp4?randId=7288\" type=\"video/mp4\">\n",
793
871
  " </video>\n",
794
872
  " "
795
873
  ],
@@ -813,7 +891,7 @@
813
891
  "a = dpl.axis_move(end_pos=(1,1),duration=60)\n",
814
892
  "\n",
815
893
  "tl.animate(a)\n",
816
- "tl.save_video('../_static/axis_move.mp4')"
894
+ "tl.save_video('../_static/animations/axis_move.mp4')"
817
895
  ]
818
896
  },
819
897
  {
@@ -852,7 +930,7 @@
852
930
  {
853
931
  "data": {
854
932
  "text/markdown": [
855
- "Saved video ../_static/axis_alpha.mp4"
933
+ "Saved video ../_static/animations/axis_alpha.mp4"
856
934
  ],
857
935
  "text/plain": [
858
936
  "<IPython.core.display.Markdown object>"
@@ -866,7 +944,7 @@
866
944
  "text/html": [
867
945
  "\n",
868
946
  " <video width=\"640\" height=\"360\" autoplay loop muted playsinline>\n",
869
- " <source src=\"../_static/axis_alpha.mp4?randId=3022\" type=\"video/mp4\">\n",
947
+ " <source src=\"../_static/animations/axis_alpha.mp4?randId=3022\" type=\"video/mp4\">\n",
870
948
  " </video>\n",
871
949
  " "
872
950
  ],
@@ -890,7 +968,7 @@
890
968
  "a = dpl.axis_alpha(start_alpha=0,end_alpha=1,duration=50)\n",
891
969
  "\n",
892
970
  "tl.animate(a)\n",
893
- "tl.save_video('../_static/axis_alpha.mp4')"
971
+ "tl.save_video('../_static/animations/axis_alpha.mp4')"
894
972
  ]
895
973
  },
896
974
  {
@@ -929,7 +1007,7 @@
929
1007
  {
930
1008
  "data": {
931
1009
  "text/markdown": [
932
- "Saved video ../_static/fig_width_ratio.mp4"
1010
+ "Saved video ../_static/animations/fig_width_ratio.mp4"
933
1011
  ],
934
1012
  "text/plain": [
935
1013
  "<IPython.core.display.Markdown object>"
@@ -943,7 +1021,7 @@
943
1021
  "text/html": [
944
1022
  "\n",
945
1023
  " <video width=\"640\" height=\"360\" autoplay loop muted playsinline>\n",
946
- " <source src=\"../_static/fig_width_ratio.mp4?randId=4844\" type=\"video/mp4\">\n",
1024
+ " <source src=\"../_static/animations/fig_width_ratio.mp4?randId=4844\" type=\"video/mp4\">\n",
947
1025
  " </video>\n",
948
1026
  " "
949
1027
  ],
@@ -970,7 +1048,7 @@
970
1048
  "a = dpl.fig_width_ratio(start_widths=(1,0),end_widths=(0,1),duration=60)\n",
971
1049
  "\n",
972
1050
  "tl.animate(a)\n",
973
- "tl.save_video('../_static/fig_width_ratio.mp4')"
1051
+ "tl.save_video('../_static/animations/fig_width_ratio.mp4')"
974
1052
  ]
975
1053
  },
976
1054
  {
@@ -1009,7 +1087,7 @@
1009
1087
  {
1010
1088
  "data": {
1011
1089
  "text/markdown": [
1012
- "Saved video ../_static/fig_height_ratio.mp4"
1090
+ "Saved video ../_static/animations/fig_height_ratio.mp4"
1013
1091
  ],
1014
1092
  "text/plain": [
1015
1093
  "<IPython.core.display.Markdown object>"
@@ -1023,7 +1101,7 @@
1023
1101
  "text/html": [
1024
1102
  "\n",
1025
1103
  " <video width=\"640\" height=\"360\" autoplay loop muted playsinline>\n",
1026
- " <source src=\"../_static/fig_height_ratio.mp4?randId=767\" type=\"video/mp4\">\n",
1104
+ " <source src=\"../_static/animations/fig_height_ratio.mp4?randId=767\" type=\"video/mp4\">\n",
1027
1105
  " </video>\n",
1028
1106
  " "
1029
1107
  ],
@@ -1050,7 +1128,7 @@
1050
1128
  "a = dpl.fig_height_ratio(start_heights=(1,0),end_heights=(0,1),duration=60)\n",
1051
1129
  "\n",
1052
1130
  "tl.animate(a)\n",
1053
- "tl.save_video('../_static/fig_height_ratio.mp4')"
1131
+ "tl.save_video('../_static/animations/fig_height_ratio.mp4')"
1054
1132
  ]
1055
1133
  }
1056
1134
  ],