Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb36b148

Browse files
WeatherGodmdboom
authored andcommitted
Merge pull request#2306 from lpsinger/mollweide_latitude_grid
Mollweide latitude grid
1 parentf237a74 commitb36b148

File tree

5 files changed

+1866
-0
lines changed

5 files changed

+1866
-0
lines changed

‎lib/matplotlib/axis.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,11 +1003,15 @@ def _update_ticks(self, renderer):
10031003
except:
10041004
warnings.warn("Unable to find pixel distance along axis for interval padding; assuming no interval padding needed.")
10051005
ds1=0.0
1006+
ifnp.isnan(ds1):
1007+
ds1=0.0
10061008
try:
10071009
ds2=self._get_pixel_distance_along_axis(interval_expanded[1],+0.5)
10081010
except:
10091011
warnings.warn("Unable to find pixel distance along axis for interval padding; assuming no interval padding needed.")
10101012
ds2=0.0
1013+
ifnp.isnan(ds2):
1014+
ds2=0.0
10111015
interval_expanded= (interval_expanded[0]-ds1,
10121016
interval_expanded[1]+ds2)
10131017

Binary file not shown.
37.3 KB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp