Paul-Edouard Sarlin commited on
Commit
e3d81ed
·
unverified ·
1 Parent(s): 9aff230

Bugfix for matplotlib 3.8 (#38)

Browse files
Files changed (1) hide show
  1. maploc/utils/viz_localization.py +1 -0
maploc/utils/viz_localization.py CHANGED
@@ -99,6 +99,7 @@ def copy_image(im, ax):
99
  prop.pop("window_extent")
100
  prop.pop("figure")
101
  prop.pop("transform")
 
102
  return ax.imshow(im.get_array(), **prop)
103
 
104
 
 
99
  prop.pop("window_extent")
100
  prop.pop("figure")
101
  prop.pop("transform")
102
+ prop.pop("shape", None)
103
  return ax.imshow(im.get_array(), **prop)
104
 
105