Skip to content

Commit

Permalink
Pyflakes fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Nov 3, 2017
1 parent d3c9968 commit bf14a79
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion geoviews/plotting/bokeh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from ...operation import project_image, project_shape, project_points, project_path
from ...util import geom_to_array
from .plot import GeoPlot, OverlayPlot, DEFAULT_PROJ
from . import callbacks
from . import callbacks # noqa

line_types = (shapely.geometry.MultiLineString, shapely.geometry.LineString)
poly_types = (shapely.geometry.MultiPolygon, shapely.geometry.Polygon)
Expand Down
2 changes: 0 additions & 2 deletions geoviews/plotting/bokeh/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,13 @@ class GeoRangeXCallback(RangeXCallback):

def _process_msg(self, msg):
msg = super(GeoRangeXCallback, self)._process_msg(msg)
attributes = list(self.attributes.keys())
return project_ranges(self, msg, ('x_range',))


class GeoRangeYCallback(RangeYCallback):

def _process_msg(self, msg):
msg = super(GeoRangeYCallback, self)._process_msg(msg)
attributes = list(self.attributes.keys())
return project_ranges(self, msg, ('y_range',))


Expand Down

0 comments on commit bf14a79

Please sign in to comment.