Skip to content

Commit

Permalink
Changing Reel cell to non-executable markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Shushman committed Aug 30, 2018
1 parent 4bd4e72 commit 697d243
Showing 1 changed file with 8 additions and 29 deletions.
37 changes: 8 additions & 29 deletions doc/PGFPlots.ipynb
Expand Up @@ -32136,31 +32136,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"PGFPlots.jl provides a `image/svg+xml` MIME for Reel. This allows one to create movies and GIFs. "
]
},
{
"cell_type": "code",
"execution_count": 108,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"┌ Warning: `finalizer(o, f::Function)` is deprecated, use `finalizer(f, o)` instead.\n",
"│ caller = #call#1 at Reel.jl:20 [inlined]\n",
"└ @ Core /Users/shushmanchoudhury/.julia/dev/Reel/src/Reel.jl:20\n",
"┌ Warning: Deprecated syntax `implicit assignment to global variable `t``.\n",
"│ Use `global t` instead.\n",
"└ @ nothing none:0\n",
"┌ Warning: Deprecated syntax `implicit assignment to global variable `ax``.\n",
"│ Use `global ax` instead.\n",
"└ @ nothing none:0\n"
]
}
],
"source": [
"PGFPlots.jl provides a `image/svg+xml` MIME for Reel. This allows one to create movies and GIFs. Here is an example:\n",
"\n",
"```\n",
"using Reel\n",
"Reel.extension(m::MIME\"image/svg+xml\") = \"svg\"\n",
"Reel.set_output_type(\"gif\") # may be necessary for use in IJulia\n",
Expand All @@ -32171,7 +32149,8 @@
" ax = Axis(Plots.Linear(x -> sin(x+t*π), (0,6)), xlabel=\"x\", ylabel=\"y\")\n",
" push!(frames, ax)\n",
"end \n",
"frames;"
"frames;\n",
"```"
]
},
{
Expand Down Expand Up @@ -32201,15 +32180,15 @@
"metadata": {
"anaconda-cloud": {},
"kernelspec": {
"display_name": "Julia 0.7.0",
"display_name": "Julia 1.0.0",
"language": "julia",
"name": "julia-0.7"
"name": "julia-1.0"
},
"language_info": {
"file_extension": ".jl",
"mimetype": "application/julia",
"name": "julia",
"version": "0.7.0"
"version": "1.0.0"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 697d243

Please sign in to comment.