[yt-svn] commit/yt: MatthewTurk: Merged in xarthisius/yt (pull request #1652)

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Jul 23 09:10:34 PDT 2015


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/610e1c392d21/
Changeset:   610e1c392d21
Branch:      yt
User:        MatthewTurk
Date:        2015-07-23 16:10:24+00:00
Summary:     Merged in xarthisius/yt (pull request #1652)

Remove example showing embedded js animation.
Affected #:  4 files

diff -r f6b452056c681f9f781b5e25f8d13f6f4193efa8 -r 610e1c392d21d529b1fcb2ed88c98f50f67bcde0 doc/source/cookbook/embedded_javascript_animation.ipynb
--- a/doc/source/cookbook/embedded_javascript_animation.ipynb
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "metadata": {
-  "name": "",
-  "signature": "sha256:bed79f0227742715a8753a98f2ad54175767a7c9ded19b14976ee6c8ff255f04"
- },
- "nbformat": 3,
- "nbformat_minor": 0,
- "worksheets": [
-  {
-   "cells": [
-    {
-     "cell_type": "markdown",
-     "metadata": {},
-     "source": [
-      "This example shows how to embed an animation produced by `matplotlib` into an IPython notebook.  This example makes use of `matplotlib`'s [animation toolkit](http://matplotlib.org/api/animation_api.html) to transform individual frames into a final rendered movie.  \n",
-      "\n",
-      "Additionally, this uses Jake VanderPlas' [`JSAnimation`](https://github.com/jakevdp/JSAnimation) library to embed the movie as a javascript widget, directly in the notebook.  This does not use `ffmpeg` to stitch the frames together and thus does not require `ffmpeg`.  However, you must have `JSAnimation` installed.\n",
-      "\n",
-      "To do so, clone to git repostiory and run `python setup.py install` in the root of the repository."
-     ]
-    },
-    {
-     "cell_type": "code",
-     "collapsed": false,
-     "input": [
-      "import yt\n",
-      "from JSAnimation import IPython_display\n",
-      "from matplotlib import animation"
-     ],
-     "language": "python",
-     "metadata": {},
-     "outputs": []
-    },
-    {
-     "cell_type": "markdown",
-     "metadata": {},
-     "source": [
-      "Here we set up the animation.  We use yt to load the data and create each frame and use matplotlib to stitch the frames together.  Note that we customize the plot a bit by calling the `set_zlim` function.  Customizations only need to be applied to the first frame - they will carry through to the rest.\n",
-      "\n",
-      "This may take a while to run, be patient."
-     ]
-    },
-    {
-     "cell_type": "code",
-     "collapsed": false,
-     "input": [
-      "import matplotlib.pyplot as plt\n",
-      "from matplotlib.backends.backend_agg import FigureCanvasAgg\n",
-      "\n",
-      "prj = yt.ProjectionPlot(yt.load('Enzo_64/DD0000/data0000'), 0, 'density', weight_field='density',width=(180,'Mpccm'))\n",
-      "prj.set_figure_size(5)\n",
-      "prj.set_zlim('density',1e-32,1e-26)\n",
-      "fig = prj.plots['density'].figure\n",
-      "\n",
-      "# animation function.  This is called sequentially\n",
-      "def animate(i):\n",
-      "    ds = yt.load('Enzo_64/DD%04i/data%04i' % (i,i))\n",
-      "    prj._switch_ds(ds)\n",
-      "\n",
-      "# call the animator.  blit=True means only re-draw the parts that have changed.\n",
-      "animation.FuncAnimation(fig, animate, frames=44, interval=200, blit=False)"
-     ],
-     "language": "python",
-     "metadata": {},
-     "outputs": []
-    }
-   ],
-   "metadata": {}
-  }
- ]
-}

diff -r f6b452056c681f9f781b5e25f8d13f6f4193efa8 -r 610e1c392d21d529b1fcb2ed88c98f50f67bcde0 doc/source/cookbook/embedded_javascript_animation.rst
--- a/doc/source/cookbook/embedded_javascript_animation.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-Making a javascript animation widget using JSAnimation
-------------------------------------------------------
-
-.. notebook:: embedded_javascript_animation.ipynb

diff -r f6b452056c681f9f781b5e25f8d13f6f4193efa8 -r 610e1c392d21d529b1fcb2ed88c98f50f67bcde0 doc/source/cookbook/index.rst
--- a/doc/source/cookbook/index.rst
+++ b/doc/source/cookbook/index.rst
@@ -41,7 +41,6 @@
 
    notebook_tutorial
    custom_colorbar_tickmarks
-   embedded_javascript_animation
    embedded_webm_animation
    gadget_notebook
    owls_notebook

diff -r f6b452056c681f9f781b5e25f8d13f6f4193efa8 -r 610e1c392d21d529b1fcb2ed88c98f50f67bcde0 doc/source/developing/building_the_docs.rst
--- a/doc/source/developing/building_the_docs.rst
+++ b/doc/source/developing/building_the_docs.rst
@@ -165,24 +165,22 @@
 
 To build the full documentation, you will need yt, IPython, runipy, and all 
 supplementary yt analysis modules installed. The following dependencies were 
-used to generate the yt documentation during the release of yt 2.6 in late 2013.
+used to generate the yt documentation during the release of yt 3.2 in 2015.
 
-* Sphinx_ 1.1.3
-* IPython_ 1.1
-* runipy_ (git hash f74458c2877)
-* pandoc_ 1.11.1
+* Sphinx_ 1.3.1
+* IPython_ 2.4.1
+* runipy_ 0.1.3
+* pandoc_ 1.13.2
 * Rockstar halo finder 0.99.6
 * SZpack_ 1.1.1
-* ffmpeg_ 1.2.4 (compiled with libvpx support)
-* JSAnimation_ (git hash 1b95cb3a3a)
-* Astropy_ 0.2.5
+* ffmpeg_ 2.7.1 (compiled with libvpx support)
+* Astropy_ 0.4.4
 
 .. _SZpack: http://www.cita.utoronto.ca/~jchluba/Science_Jens/SZpack/SZpack.html
 .. _Astropy: http://astropy.org/
 .. _Sphinx: http://sphinx-doc.org/
 .. _pandoc: http://johnmacfarlane.net/pandoc/
 .. _ffmpeg: http://www.ffmpeg.org/
-.. _JSAnimation: https://github.com/jakevdp/JSAnimation
 
 You will also need the full yt suite of `yt test data
 <http://yt-project.org/data/>`_, including the larger datasets that are not used

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list