Skip to content

Commit d1f0e17

Browse files
committed
add future imports
1 parent 6335852 commit d1f0e17

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+116
-12
lines changed

examples/allskymap.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import (absolute_import, division, print_function)
2+
13
from __future__ import unicode_literals
24
"""
35
AllSkyMap is a subclass of Basemap, specialized for handling common plotting

examples/allskymap_cr_example.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import (absolute_import, division, print_function)
2+
13
"""
24
Example of astronomical use of AllSkyMap class in allskymap.py module
35

examples/animate.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import (absolute_import, division, print_function)
2+
13
# example using matplotlib.animation to create a movie
24
# reads data over http - needs an active internet connection.
35

examples/barb_demo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import (absolute_import, division, print_function)
2+
13
from mpl_toolkits.basemap import Basemap
24
import numpy as np
35
import matplotlib.pyplot as plt

examples/ccsm_popgrid.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import (absolute_import, division, print_function)
2+
13
"""
24
This example shows how to plot data on rectangular 2D grids
35
(grids that are not rectlinear in geographic or native map projection

examples/contour_demo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import (absolute_import, division, print_function)
2+
13
from mpl_toolkits.basemap import Basemap
24
import numpy as np
35
import matplotlib.pyplot as plt

examples/counties.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import (absolute_import, division, print_function)
2+
13
import matplotlib.pyplot as plt
24
from mpl_toolkits.basemap import Basemap
35

examples/cubed_sphere.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import (absolute_import, division, print_function)
2+
13
from mpl_toolkits.basemap import Basemap
24
import matplotlib.pyplot as plt
35
import numpy as np

examples/customticks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import (absolute_import, division, print_function)
2+
13
from __future__ import unicode_literals
24
from mpl_toolkits.basemap import Basemap
35
import numpy as np

examples/daynight.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import (absolute_import, division, print_function)
2+
13
import numpy as np
24
from mpl_toolkits.basemap import Basemap
35
import matplotlib.pyplot as plt

0 commit comments

Comments
 (0)