Skip to content

Commit

Permalink
Merge branch 'v0.8.x'
Browse files Browse the repository at this point in the history
* v0.8.x:
  BF - correct location of allow_rasterization.
  • Loading branch information
pelson committed Aug 1, 2013
2 parents db30205 + 4e8c900 commit ec6a29a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/cartopy/mpl/geoaxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import weakref

import matplotlib
import matplotlib.artist
import matplotlib.axes
from matplotlib.image import imread
import matplotlib.transforms as mtransforms
Expand Down Expand Up @@ -258,7 +259,7 @@ def add_image(self, factory, *args, **kwargs):
# XXX TODO: Needs working on
self.img_factories.append([factory, args, kwargs])

@matplotlib.axes.allow_rasterization
@matplotlib.artist.allow_rasterization
def draw(self, renderer=None, inframe=False):
"""
Extends the standard behaviour of :func:`matplotlib.axes.Axes.draw`.
Expand Down

0 comments on commit ec6a29a

Please sign in to comment.