Skip to content

changed dimension of concatenation in warpimage #227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 4, 2015

Conversation

r5r3
Copy link
Contributor

@r5r3 r5r3 commented Oct 31, 2015

this commit fixes #211

@@ -4166,7 +4166,7 @@ def warpimage(self,image="bluemarble",scale=None,**kwargs):
# stack grids side-by-side (in longitiudinal direction), so
# any range of longitudes may be plotted on a world map.
self._bm_lons = \
np.concatenate((self._bm_lons,self._bm_lons+360),1)
np.concatenate((self._bm_lons,self._bm_lons+360),0)
self._bm_rgba = \
np.concatenate((self._bm_rgba,self._bm_rgba),1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it need to be done down here, too? Would be nice to have a test, too.

@r5r3
Copy link
Contributor Author

r5r3 commented Nov 4, 2015

No, _bm_rgba is the actual image. It is correctly concatenated along dimension 1.

@WeatherGod
Copy link
Member

Ok. I'll worry about the test when I convert the examples suite into a test suite (soonish...). Thank you!

WeatherGod added a commit that referenced this pull request Nov 4, 2015
changed dimension of concatenation in warpimage
@WeatherGod WeatherGod merged commit 2d2d73e into matplotlib:master Nov 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

shadedrelief() fails because of changes in numpy.concatenate
2 participants