Skip to content

Commit

Permalink
Fixed projecting of rectilinear QuadMesh (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed May 17, 2018
1 parent 2c7b797 commit 16b7bec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions geoviews/operation/projection.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ def _process_element(self, element):
zs[mask] = np.NaN

params = get_param_values(element)
if PX.ndim < 2:
PX = PX.reshape(zs.shape)
if PY.ndim < 2:
PY = PY.reshape(zs.shape)
return QuadMesh((PX, PY, zs), crs=self.projection, **params)


Expand Down

0 comments on commit 16b7bec

Please sign in to comment.