Skip to content

Commit

Permalink
Fixed documentation of bounds format
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Dec 1, 2018
1 parent db17ce3 commit 782e6b3
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/reference/elements/bokeh/HSV.ipynb
Expand Up @@ -36,7 +36,7 @@
"\n",
" HSV(Z, bounds=(x0, y0, x1, y1))\n",
"\n",
"where ``Z`` is a 3D array of stacked ``H``/``S``/``V`` arrays with shape ``NxMx3/4`` and the bounds define the (left, bottom, top, right) edges of the four corners of the grid. Other gridded formats which support declaring of explicit x/y-coordinate arrays such as xarray are also supported. See the [Gridded Datasets](../../../user_guide/08-Gridded_Datasets.ipynb) user guide for all the other accepted data formats."
"where ``Z`` is a 3D array of stacked ``H``/``S``/``V`` arrays with shape ``NxMx3/4`` and the bounds define the (left, bottom, right, top) edges of the four corners of the grid. Other gridded formats which support declaring of explicit x/y-coordinate arrays such as xarray are also supported. See the [Gridded Datasets](../../../user_guide/08-Gridded_Datasets.ipynb) user guide for all the other accepted data formats."
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions examples/reference/elements/bokeh/Image.ipynb
Expand Up @@ -36,7 +36,7 @@
"\n",
" Image(Z, bounds=(x0, y0, x1, y1))\n",
"\n",
"where ``Z`` is a 2D array of shape ``NxM`` defining the intensity values and the bounds define the (left, bottom, top, right) edges of four corners of the grid. Other gridded formats which support declaring of explicit x/y-coordinate arrays such as xarray are also supported. See the [Gridded Datasets](../../../user_guide/08-Gridded_Datasets.ipynb) user guide for all the other accepted data formats."
"where ``Z`` is a 2D array of shape ``NxM`` defining the intensity values and the bounds define the (left, bottom, right, top) edges of four corners of the grid. Other gridded formats which support declaring of explicit x/y-coordinate arrays such as xarray are also supported. See the [Gridded Datasets](../../../user_guide/08-Gridded_Datasets.ipynb) user guide for all the other accepted data formats."
]
},
{
Expand All @@ -48,7 +48,7 @@
"ls = np.linspace(0, 10, 200)\n",
"xx, yy = np.meshgrid(ls, ls)\n",
"\n",
"bounds=(-1,-1,1,1) # Coordinate system: (left, bottom, top, right)\n",
"bounds=(-1,-1,1,1) # Coordinate system: (left, bottom, right, top)\n",
"img = hv.Image(np.sin(xx)*np.cos(yy), bounds=bounds)\n",
"img"
]
Expand Down
2 changes: 1 addition & 1 deletion examples/reference/elements/bokeh/RGB.ipynb
Expand Up @@ -36,7 +36,7 @@
"\n",
" RGB(Z, bounds=(x0, y0, x1, y1))\n",
"\n",
"where Z is a 3D array of stacked R/G/B arrays with shape NxMx3/4 and the bounds define the (left, bottom, top, right) edges of the four corners of the grid. Other gridded formats which support declaring of explicit x/y-coordinate arrays such as xarray are also supported. See the [Gridded Datasets](../../../user_guide/08-Gridded_Datasets.ipynb) user guide for all the other accepted data formats.\n",
"where Z is a 3D array of stacked R/G/B arrays with shape NxMx3/4 and the bounds define the (left, bottom, right, top) edges of the four corners of the grid. Other gridded formats which support declaring of explicit x/y-coordinate arrays such as xarray are also supported. See the [Gridded Datasets](../../../user_guide/08-Gridded_Datasets.ipynb) user guide for all the other accepted data formats.\n",
"\n",
"One of the simplest ways of creating an ``RGB`` element is to load an image file (such as PNG) off disk, using the ``load_image`` classmethod:"
]
Expand Down
2 changes: 1 addition & 1 deletion examples/reference/elements/matplotlib/HSV.ipynb
Expand Up @@ -36,7 +36,7 @@
"\n",
" HSV(Z, bounds=(x0, y0, x1, y1))\n",
"\n",
"where ``Z`` is a 3D array of stacked ``H``/``S``/``V`` arrays with shape ``NxMx3/4`` and the bounds define the (left, bottom, top, right) edges of the four corners of the grid. Other gridded formats which support declaring of explicit x/y-coordinate arrays such as xarray are also supported. See the [Gridded Datasets](../../../user_guide/08-Gridded_Datasets.ipynb) user guide for all the other accepted data formats."
"where ``Z`` is a 3D array of stacked ``H``/``S``/``V`` arrays with shape ``NxMx3/4`` and the bounds define the (left, bottom, right, top) edges of the four corners of the grid. Other gridded formats which support declaring of explicit x/y-coordinate arrays such as xarray are also supported. See the [Gridded Datasets](../../../user_guide/08-Gridded_Datasets.ipynb) user guide for all the other accepted data formats."
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions examples/reference/elements/matplotlib/Image.ipynb
Expand Up @@ -36,7 +36,7 @@
"\n",
" Image(Z, bounds=(x0, y0, x1, y1))\n",
"\n",
"where ``Z`` is a 2D array of shape ``NxM`` defining the intensity values and the bounds define the (left, bottom, top, right) edges of four corners of the grid. Other gridded formats which support declaring of explicit x/y-coordinate arrays such as xarray are also supported. See the [Gridded Datasets](../../../user_guide/08-Gridded_Datasets.ipynb) user guide for all the other accepted data formats."
"where ``Z`` is a 2D array of shape ``NxM`` defining the intensity values and the bounds define the (left, bottom, right, top) edges of four corners of the grid. Other gridded formats which support declaring of explicit x/y-coordinate arrays such as xarray are also supported. See the [Gridded Datasets](../../../user_guide/08-Gridded_Datasets.ipynb) user guide for all the other accepted data formats."
]
},
{
Expand All @@ -48,7 +48,7 @@
"ls = np.linspace(0, 10, 200)\n",
"xx, yy = np.meshgrid(ls, ls)\n",
"\n",
"bounds=(-1,-1,1,1) # Coordinate system: (left, bottom, top, right)\n",
"bounds=(-1,-1,1,1) # Coordinate system: (left, bottom, right, top)\n",
"img = hv.Image(np.sin(xx)*np.cos(yy), bounds=bounds)\n",
"img"
]
Expand Down
2 changes: 1 addition & 1 deletion examples/reference/elements/matplotlib/RGB.ipynb
Expand Up @@ -36,7 +36,7 @@
"\n",
" RGB(Z, bounds=(x0, y0, x1, y1))\n",
"\n",
"where Z is a 3D array of stacked R/G/B arrays with shape NxMx3/4 and the bounds define the (left, bottom, top, right) edges of the four corners of the grid. Other gridded formats which support declaring of explicit x/y-coordinate arrays such as xarray are also supported. See the [Gridded Datasets](../../../user_guide/08-Gridded_Datasets.ipynb) user guide for all the other accepted data formats.\n",
"where Z is a 3D array of stacked R/G/B arrays with shape NxMx3/4 and the bounds define the (left, bottom, right, top) edges of the four corners of the grid. Other gridded formats which support declaring of explicit x/y-coordinate arrays such as xarray are also supported. See the [Gridded Datasets](../../../user_guide/08-Gridded_Datasets.ipynb) user guide for all the other accepted data formats.\n",
"\n",
"One of the simplest ways of creating an ``RGB`` element is to load an image file (such as PNG) off disk, using the ``load_image`` classmethod:"
]
Expand Down
2 changes: 1 addition & 1 deletion examples/reference/elements/plotly/Image.ipynb
Expand Up @@ -40,7 +40,7 @@
"ls = np.linspace(0, 10, 200)\n",
"xx, yy = np.meshgrid(ls, ls)\n",
"\n",
"bounds=(-1,-1,1,1) # Coordinate system: (left, bottom, top, right)\n",
"bounds=(-1,-1,1,1) # Coordinate system: (left, bottom, right, top)\n",
"img = hv.Image(np.sin(xx)*np.cos(yy), bounds=bounds)\n",
"img"
]
Expand Down
2 changes: 1 addition & 1 deletion examples/user_guide/Styling_Plots.ipynb
Expand Up @@ -210,7 +210,7 @@
"source": [
"ls = np.linspace(0, 10, 400)\n",
"xx, yy = np.meshgrid(ls, ls)\n",
"bounds=(-1,-1,1,1) # Coordinate system: (left, bottom, top, right)\n",
"bounds=(-1,-1,1,1) # Coordinate system: (left, bottom, right, top)\n",
"img = hv.Image(np.sin(xx)*np.cos(yy), bounds=bounds).options(colorbar=True, width=400)\n",
"\n",
"img.options(cmap='PiYG') + img.options(cmap='PiYG_r')"
Expand Down

0 comments on commit 782e6b3

Please sign in to comment.