Skip to content

Commit

Permalink
Avoid Pandas and Xarray warnings (#791)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbednar authored Sep 27, 2019
1 parent d9faa97 commit fb97f9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion datashader/bundling.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def _convert_graph_to_edge_segments(nodes, edges, params):
df = df.filter(items=segment_class.get_merged_columns(params))

edge_segments = []
for edge in df.get_values():
for edge in df.values:
edge_segments.append(segment_class.create_segment(edge))
return edge_segments, segment_class

Expand Down
1 change: 1 addition & 0 deletions datashader/transfer_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@


class Image(xr.DataArray):
__slots__ = ()
__array_priority__ = 70
border=1

Expand Down

0 comments on commit fb97f9a

Please sign in to comment.