Skip to content

Commit

Permalink
Merge 5bb71b9 into 92ac5b5
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Apr 4, 2017
2 parents 92ac5b5 + 5bb71b9 commit f333ccd
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions doc/Tutorials/Options.ipynb
Expand Up @@ -641,6 +641,30 @@
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Option inheritance\n",
"\n",
"Since HoloViews objects nest in a variety of ways and you do not want to keep changing the options specification when you compose your object into an ``Overlay`` or ``NdOverlay``, certain ``plot`` options are inherited. This includes all plot options which control the appearance of the axes, but not those that are specific to the Element. As a simple example let us combine the ``Image`` from above with some ``Bounds``. Even though we apply the ``xrotation`` and ``yticks`` options to the ``Image`` they are inherited by the ``Overlay`` of the ``Image`` and ``Bounds``."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"%%opts Image [xrotation=90 yticks=[-0.5, 0., 0.5]]\n",
"image * hv.Bounds((-.25, -.25, .25, .25))"
]
},
{
"cell_type": "markdown",
"metadata": {
"deletable": true,
"editable": true
},
"source": [
"## Separating data and visualization options"
]
Expand Down

0 comments on commit f333ccd

Please sign in to comment.