Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced references to hv.GridImage with hv.Image #59

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/Working_with_Bokeh.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"outputs": [],
"source": [
"%%opts Overlay [width=600 height=300 xaxis=None yaxis=None] \n",
"%%opts Points (size=0.005 cmap='viridis') [tools=['hover'] color_index=2]\n",
"%%opts Points (size=0.005 cmap='viridis') [tools=['hover'] size_index=2 color_index=2]\n",
"(gv.WMTS(tiles['Wikipedia']) *\\\n",
"population.to(gv.Points, kdims=['Longitude', 'Latitude'],\n",
" vdims=['Population', 'City', 'Country'], crs=ccrs.PlateCarree()))"
Expand Down
6 changes: 3 additions & 3 deletions geoviews/element/geo.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from holoviews.core import Element2D, Dimension, Dataset as HvDataset, NdOverlay
from holoviews.core.util import basestring, pd
from holoviews.element import (Text as HVText, Path as HVPath,
Polygons as HVPolygons, GridImage)
Polygons as HVPolygons, Image as HVImage)

from shapely.geometry.base import BaseGeometry
from shapely.geometry import (MultiLineString, LineString,
Expand Down Expand Up @@ -181,7 +181,7 @@ class Points(Dataset):
group = param.String(default='Points')


class LineContours(_Element, GridImage):
class LineContours(_Element, HVImage):
"""
Contours represents a 2D array of some quantity with
some associated coordinates, which may be discretized
Expand All @@ -203,7 +203,7 @@ class FilledContours(LineContours):
group = param.String(default='FilledContours')


class Image(_Element, GridImage):
class Image(_Element, HVImage):
"""
Image represents a 2D array of some quantity with
some associated coordinates.
Expand Down