Skip to content

Commit

Permalink
minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
maximlt committed Nov 27, 2024
1 parent 8aa71f8 commit 1e15591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hvplot/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2171,7 +2171,7 @@ def _process_tiles_without_geo(self, data, x, y):
return data, x, y

if is_geodataframe(data):
if hasattr(data, 'crs') and data.crs is not None:
if getattr(data, 'crs', None) is not None:
data = data.to_crs(epsg=3857)
return data, x, y
elif not is_lazy_data(data):
Expand Down

0 comments on commit 1e15591

Please sign in to comment.