Skip to content

Commit

Permalink
Avoid conversion to numpy.float64
Browse files Browse the repository at this point in the history
  • Loading branch information
juhi24 committed Nov 4, 2024
1 parent def171d commit a8a18d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cartopy/mpl/slippy_image_artist.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def draw(self, renderer, *args, **kwargs):

ax = self.axes
window_extent = ax.get_window_extent()
[x1, y1], [x2, y2] = ax.viewLim.get_points()
[x1, y1], [x2, y2] = ax.viewLim.get_points().tolist()
if not self.user_is_interacting:
located_images = self.raster_source.fetch_raster(
ax.projection, extent=[x1, x2, y1, y2],
Expand Down

0 comments on commit a8a18d1

Please sign in to comment.